You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2006/01/04 18:56:01 UTC

[jira] Commented: (JCR-297) Jcr-Server: Avoid xml parsing if request body is missing

    [ 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