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

werkzeug-based WSGI applications cannot handle chunk-encoded request bodies #1094

Closed
graingert opened this issue Apr 4, 2017 · 2 comments
Closed

Comments

@graingert
Copy link

(it's) basically impossible for werkzeug-using applications to sensibly handle chunked transfer encoding without having their WSGI server buffer the entire inbound data stream, which seems like a pretty unreasonable requirement.

@graingert
Copy link
Author

From pallets/flask#2229

graingert pushed a commit to graingert/werkzeug that referenced this issue Apr 4, 2017
PEP3333 only requires a limited stream if CONTENT_LENGTH is present.
@graingert
Copy link
Author

ah looks like there is 'wsgi.input_terminated' https://gist.github.com/mitsuhiko/5721547

@davidism davidism closed this as completed Jun 9, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants