Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not decode content on the way through #1

Open
mjumbewu opened this issue Nov 27, 2013 · 0 comments
Open

Do not decode content on the way through #1

mjumbewu opened this issue Nov 27, 2013 · 0 comments

Comments

@mjumbewu
Copy link
Owner

We should be using response.raw instead of response.content in the proxy view. This would probably relieve us of the need to declare content-encoding and content-length as excluded headers.

The raw will come through as a urllib3 HTTPResponse object. We can use this fact to even do things like return a streaming response when appropriate (maybe for another day though).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant