浏览代码

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/>"));