Ticket #369 (closed defect: fixed)
WSGIProxy does not set Content-Type header
| Reported by: | seletz | Owned by: | ianb |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.4.1 |
| Component: | paste | Version: | svn-trunk |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The WSGIProxy.exactproxy.proxy_exact_request method does query the environ for "Content-Type" and thus never sets the Content-Type HTTP header.
This is bad for multipart-formdata POST requests, resulting in wrongly parsed form data on the other end.
Patch follows.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

