[
https://issues.apache.org/jira/browse/JCR-3727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13903446#comment-13903446
]
Oliver Lietz commented on JCR-3727:
-----------------------------------
The preflight request is handled by the browser without user interaction before
doing not-so-simple (advanced) requests.
Using a general servlet as you mentioned doesn't help when you want different
headers for different resources - and not sure if it would work at all. The
AbstractWebdavServlet should support CORS with minimal hooks - maybe
configurable.
> enable CORS preflight requests on AbstractWebdavServlet
> -------------------------------------------------------
>
> Key: JCR-3727
> URL: https://issues.apache.org/jira/browse/JCR-3727
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-webdav
> Affects Versions: 2.4.5, 2.6.5, 2.7.5
> Reporter: Oliver Lietz
> Labels: CORS
> Attachments: JCR-3727-2.4.diff, JCR-3727-2.4.diff
>
>
> see http://www.w3.org/TR/cors/
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)