Ticket #369 (closed defect: fixed)

Opened 3 years ago

Last modified 18 months ago

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

exactproxy-content-type.patch Download (0.5 KB) - added by seletz 3 years ago.

Change History

Changed 3 years ago by seletz

Changed 18 months ago by ianb

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.