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

accept charset for x-www-form-urlencoded content-type #1159

Merged
merged 1 commit into from
Oct 15, 2014
Merged

accept charset for x-www-form-urlencoded content-type #1159

merged 1 commit into from
Oct 15, 2014

Conversation

seanstrom
Copy link
Contributor

Solves #701

Review @nylen @mikeal @FredKSchott ?

@seanstrom
Copy link
Contributor Author

@mikeal @FredKSchott @nylen @emkay
Some one review this please :)

@emkay
Copy link
Member

emkay commented Oct 15, 2014

⛵ Looks good. Had to look up http://www.w3.org/TR/html5/forms.html#application/x-www-form-urlencoded-encoding-algorithm and #701 for context.

update the readme
update the tests
@nylen
Copy link
Member

nylen commented Oct 15, 2014

@emkay thanks for the link to the spec. This seems pretty clear, then:

Parameters on the application/x-www-form-urlencoded MIME type are ignored. In particular, this MIME type does not support the charset parameter.

nylen added a commit that referenced this pull request Oct 15, 2014
accept charset for x-www-form-urlencoded content-type
@nylen nylen merged commit 6eb0a78 into request:master Oct 15, 2014
@seanstrom seanstrom deleted the support/rm-charset-contentheader branch October 15, 2014 16:29
nylen added a commit to nylen/request that referenced this pull request Oct 17, 2014
…tentheader

accept charset for x-www-form-urlencoded content-type
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.

3 participants