[ http://issues.apache.org/jira/browse/JCR-297?page=comments#action_12361771 ]
angela commented on JCR-297: ---------------------------- as a first step i would suggest to avoid parsing the request body, if the headers indicates a contentlength of 0. other than the original solution suggested by brian a contentlength of -1 (meaning: contentlength is not available for whatever reason) would still get parsed. this would at least circumvent the parse failure if the contentlength is set to 0 (e.g. http1.0 PROPFIND request for all properties where it is legal to omit the request body). > Jcr-Server: Avoid xml parsing if request body is missing > -------------------------------------------------------- > > Key: JCR-297 > URL: http://issues.apache.org/jira/browse/JCR-297 > Project: Jackrabbit > Type: Improvement > Reporter: angela > Assignee: angela > Priority: Minor > > Originally reported by Brian. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira