thomasw / djproxy

djproxy is a class-based generic view reverse HTTP proxy for Django.
MIT License
42 stars 15 forks source link

Don't try to pass uploaded files as a dict to requests #1

Closed thomasw closed 10 years ago

thomasw commented 10 years ago

Django's self.request.body is the incoming request body as a byte stream, which works just fine for passing file uploads off downstream via the request library's data parameter.

This change fixes file uploads.