Repository navigation
Default to 'latin-1' encoding for HTTP text requests. - #1547
Merged
Merged
Conversation
This is following the W3C protocol documentation here: https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7.1
Member
|
This seems sensible for the network handles - although if we want to restrict this to network handles only this may not be the best place to do the encoding selection? Note someone might well be parsing an NCBI file previously saved to disk, so this is not clear cut. @mdehoon what do you think? @EdwardBlakeMiller I'd like a comment on this if statement linking to the W3C recommendation explaining why |
Codecov Report
@@ Coverage Diff @@
## master #1547 +/- ##
==========================================
- Coverage 84.86% 84.85% -0.02%
==========================================
Files 325 325
Lines 49391 49393 +2
==========================================
- Hits 41914 41910 -4
- Misses 7477 7483 +6
Continue to review full report at Codecov.
|
Member
|
Thanks! |
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is following the W3C protocol documentation here:
https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7.1
This pull request addresses issue #1546 ...
I hereby agree to dual licence this and any previous contributions under both
the Biopython License Agreement AND the BSD 3-Clause License.
I have read the
CONTRIBUTING.rstfile and understand that AppVeyor andTravisCI will be used to confirm the Biopython unit tests and
flake8stylechecks pass with these changes.
I am happy be thanked by name in the
NEWS.rstandCONTRIB.rstfiles,and have added myself to those files as part of this pull request. (This
acknowledgement is optional. Note we list the names sorted alphabetically.)