Skip to content

Fix issue #3951: Request.data empty when multipart/form-data POSTed #4026

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

Closed
wants to merge 2 commits into from
Closed

Fix issue #3951: Request.data empty when multipart/form-data POSTed #4026

wants to merge 2 commits into from

Conversation

CaffeineFueled
Copy link

A proposed fix (and tests) for resolving issue #3951. Amends MultiPartParser to use underlying Django WSGIRequest POST and FILES rather than attempting to (potentially) re-read the POST stream.

@xordoquy
Copy link
Collaborator

Milestoning it to rise the priority on it

@xordoquy xordoquy added this to the 3.4.0 Release milestone May 20, 2016
@tomchristie
Copy link
Member

tomchristie commented May 20, 2016

Okay, needs some serious consideration. Thanks for your input on this.

@xordoquy
Copy link
Collaborator

The thing that prevents me to merge this is my lack of understanding about the use of request.stream vs request.POST.

@tomchristie
Copy link
Member

Not a problem - I wouldn't want this merged without some in-depth review first, in any case.

@tomchristie
Copy link
Member

Superseeded by #4500.

@tomchristie tomchristie removed this from the 3.5.0 Release milestone Oct 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants