Ticket #3585 (closed defect: fixed)
If the Content-Type of a request is "application/x-www-form-urlencoded", twisted.web.wsgi gives applications a zero-length input object
| Reported by: | wangchun | Owned by: | exarkun |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | web | Keywords: | |
| Cc: | mattc | Branch: | branches/wsgi-form-post-3585 |
| Author: | exarkun | Launchpad Bug: |
Description (last modified by exarkun) (diff)
Sometimes twisted.web.http.Request.requestReceived reads from the body object (Request.content) and parses the result into Request.args. Then it calls process. If a twisted.web.wsgi.WSGIResource is getting the request, it will be passed on as the wsgi.input in the environ to application code. This means that sometimes a wsgi application will get an already-read input and not be able to get the request body.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

