Change behaviour of Servlet Resource Registration for missing 
sling.servlet.methods property
--------------------------------------------------------------------------------------------

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


As discussed in [1]:

The behaviour of handling the sling.servlet.methods property should be modified 
as follows:

   * If the property is missing or empty, assume a value of [ "GET", "HEAD" ]
   * If the property is set to a single "*" entry, assume support for no 
specific request method and register as a fallback for any methods not handled 
by other (more specific) servlets
   * Any other value of the property is used as the (list of) request method 
name(s) to register the servlet for

This is different from the behaviour today, where an empty property is assumed 
to be non-specific support for all methods.

[1] http://markmail.org/message/axkirfnce52va2op

-- 
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