Преглед на файлове

Merge pull request #2028 from afishbeck/forms_list_page

Add url option to list ESP service test forms

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday преди 13 години
родител
ревизия
7f81f68489
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      esp/bindings/http/platform/httpbinding.cpp

+ 1 - 1
esp/bindings/http/platform/httpbinding.cpp

@@ -1747,7 +1747,7 @@ int EspHttpBinding::onGetIndex(IEspContext &context, CHttpRequest* request,  CHt
         MethodInfoArray methods;
         getQualifiedNames(context, methods);
 
-        if (supportGeneratedForms())
+        if (supportGeneratedForms() || request->queryParameters()->hasProp("list_forms"))
         {
             page.appendContent(new CHtmlText("The following operations are supported:<br/>"));