Handle GET requests by method name not just by request extension
----------------------------------------------------------------

                 Key: SLING-243
                 URL: https://issues.apache.org/jira/browse/SLING-243
             Project: Sling
          Issue Type: Improvement
          Components: ServletResolver
            Reporter: Felix Meschberger
             Fix For: 2.0.0


Currently the name of the script to call to handle a request is based on the 
request extension for GET and HEAD requests and on the request method for all 
other requests. This works fairly well for scripts handling single extensions. 
But it does not scale well for servlets (and scripts BTW), which are able to 
handle more than just a single extension, such as the launchpad default servlet.

Therefore - just for GET/HEAD  requests - the script name should just be looked 
up by request extension and if no script can be found by the request method 
name just like for all other methods.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to