Skip to content

Use request.mimetype instead of request.content_type #2

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

Merged
merged 1 commit into from
Jan 27, 2016
Merged

Use request.mimetype instead of request.content_type #2

merged 1 commit into from
Jan 27, 2016

Conversation

amitsaha
Copy link
Contributor

request.content_type has encoding and other information associated with it. If we send in multipart/form-data, the content_type attribute is not just the mime type which is what we are interested in here, but
is a string of the form multipart/form-data;...

Please also see PR: #1

request.content_type has encoding and other information associated
with it. If we send in multipart/form-data, the content_type attribute
is not just the mime type which is what we are interested in here, but
is a string of the form multipart/form-data;...
syrusakbary added a commit that referenced this pull request Jan 27, 2016
Use request.mimetype instead of request.content_type
@syrusakbary syrusakbary merged commit 87723fd into graphql-python:master Jan 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants