Explorar o código

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 %!s(int64=13) %!d(string=hai) anos
pai
achega
7f81f68489
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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/>"));