You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-dev@quetz.apache.org by "Graham Dumpleton (JIRA)" <ji...@apache.org> on 2006/04/02 11:29:43 UTC

[jira] Work started: (MODPYTHON-153) Add req.discard_request_body().

     [ http://issues.apache.org/jira/browse/MODPYTHON-153?page=all ]
     
Work on MODPYTHON-153 started by Graham Dumpleton

> Add req.discard_request_body().
> -------------------------------
>
>          Key: MODPYTHON-153
>          URL: http://issues.apache.org/jira/browse/MODPYTHON-153
>      Project: mod_python
>         Type: New Feature

>   Components: core
>     Reporter: Graham Dumpleton
>     Assignee: Graham Dumpleton

>
> In HTTP/1.1 any method may include a request body, whereas in HTTP/1.0 only POST and PUT were allowed to. To avoid any potential problems if a handler were trying to emulate in part the default Apache handler for requests, in would be appropriate for a handler to ensure that any request body is discarded. Apache provides a function specifically for this purpose which is called ap_discard_request_body(). For completeness this function should be available in the request object API as req.discard_request_body().

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