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 Accept-Encoding && Accept-Language #10

Merged
merged 2 commits into from Oct 18, 2016
Merged

Conversation

gmr
Copy link
Contributor

@gmr gmr commented Oct 15, 2016

Update docs to use :http:header: instead of :mailheader: as :mailheader: is deprecated, see https://pythonhosted.org/sphinxcontrib-httpdomain/#role-http:header

@coveralls
Copy link

coveralls commented Oct 15, 2016

Coverage Status

Coverage increased (+0.03%) to 99.199% when pulling b0b1a77 on gmr:master into 1b10e1a on dave-shawley:master.

@@ -44,7 +44,7 @@ list. If both a wildcard and rejected values are present, then the wildcard
will occur *before* the rejected values.

>>> from ietfparse import headers
>>> charsets = headers.parse_accept_charset('acceptable, rejected;q=0, *')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice find!

the quality values are removed and the token list is returned.

>>> from ietfparse import headers
>>> headers.parse_accept_language('da, en;q=0.7, en-gb;q=0.8')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

da = Danish, de = German

@dave-shawley dave-shawley merged commit 56e4fdb into dave-shawley:master Oct 18, 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.

None yet

3 participants