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

Add tips for 413 connection reset issue #2662

Merged
merged 1 commit into from
Apr 9, 2018
Merged

Add tips for 413 connection reset issue #2662

merged 1 commit into from
Apr 9, 2018

Conversation

greyli
Copy link
Member

@greyli greyli commented Mar 18, 2018

@davidism
Copy link
Member

Sounds like this should be fixed in Werkzeug. Also, avoid using the term "Flask development server", as Flask is not the thing providing the server.

@greyli
Copy link
Member Author

greyli commented Mar 19, 2018

It would be great if it can be fixed. It seems this issue was quite old, in this snippet that posted by Armin Ronacher in 2011, he said:

Some WSGI servers solve that problem for you, others do not. For instance the builtin Flask webserver is pretty dumb and will not attempt to fix this problem.

@davidism
Copy link
Member

See #2188, which needs to be reported against Werkzeug.

@davidism davidism added this to the 1.0 milestone Apr 9, 2018
@davidism davidism added the docs label Apr 9, 2018
@davidism davidism merged commit 8c0d8c1 into pallets:master Apr 9, 2018
@greyli greyli deleted the patch-9 branch April 10, 2018 00:34
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 14, 2020
@davidism
Copy link
Member

Related to pallets/werkzeug#2620, which changes the development server so the 413 error will come through in most cases. In general though it's up to the client how they handle their input stream being closed before all input is sent.

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

Successfully merging this pull request may close these issues.

None yet

2 participants