737dcc50 by Ean Schuessler

Add the HTTP method to the service lookup

1 parent 7df44925
...@@ -141,7 +141,7 @@ public class DirectControlServlet extends HttpServlet { ...@@ -141,7 +141,7 @@ public class DirectControlServlet extends HttpServlet {
141 141
142 // If there is a mapping for this pathInfo, run the corresponding service 142 // If there is a mapping for this pathInfo, run the corresponding service
143 // otherwise, return an error 143 // otherwise, return an error
144 String serviceName = serviceURLMappings.get(pathInfo) + "#" + method; 144 String serviceName = serviceURLMappings.get(pathInfo + "#" + method);
145 if (serviceName == null) { 145 if (serviceName == null) {
146 serviceName = serviceURLMappings.get(pathInfo); 146 serviceName = serviceURLMappings.get(pathInfo);
147 if (serviceName == null) { 147 if (serviceName == null) {
......