[ 
https://issues.apache.org/jira/browse/SLING-53?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552732
 ] 

Bertrand Delacretaz commented on SLING-53:
------------------------------------------

On sling-dev, Lars suggests using *two* filters:

First ServletFilter changes Request-Parameters with a certain naming pattern 
into request headers. This overcomes the disability of web
browsers to set headers programatically.

Second ServletFilter uses a header like X-HTTP-Method to override the HTTP 
method.

Note that we're already using ujax: as a prefix for request parameters 
interpreted by µjax, the pattern for the first filter should be similar.



> Add request filter for method overwrite
> ---------------------------------------
>
>                 Key: SLING-53
>                 URL: https://issues.apache.org/jira/browse/SLING-53
>             Project: Sling
>          Issue Type: New Feature
>          Components: Core, microsling
>            Reporter: Felix Meschberger
>             Fix For: 2.0.0
>
>
> To allow for method overwrite I suggest to add a request processing Filter 
> along the lines of the Abdera MethodOverWriteFilter [1] as stipulated by Roy 
> in [2].
> [1] 
> http://svn.apache.org/viewvc/incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/servlet/MethodOverrideFilter.java?view=markup&pathrev=510085
> [2] http://www.mail-archive.com/[email protected]/msg00355.html

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