Author: nextgens
Date: 2007-04-13 19:06:33 +0000 (Fri, 13 Apr 2007)
New Revision: 12650

Modified:
   trunk/plugins/TestGallery/TestGallery.java
Log:
TestGallery: fix it

Modified: trunk/plugins/TestGallery/TestGallery.java
===================================================================
--- trunk/plugins/TestGallery/TestGallery.java  2007-04-13 19:03:42 UTC (rev 
12649)
+++ trunk/plugins/TestGallery/TestGallery.java  2007-04-13 19:06:33 UTC (rev 
12650)
@@ -34,10 +34,10 @@
                }
        }
        public String handleHTTPPut(HTTPRequest request) throws 
PluginHTTPException {
-               throw new PluginHTTPException();
+               throw new PluginHTTPException("PUT requests aren't allowed!", 
"/plugins");
        }
        public String handleHTTPPost(HTTPRequest request) throws 
PluginHTTPException {
-               throw new PluginHTTPException();
+               throw new PluginHTTPException("POST requests aren't allowed!", 
"/plugins");
        }

        private HashMap getElements(String path) {


Reply via email to