-
-
Notifications
You must be signed in to change notification settings - Fork 380
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Accept custom HTTP headers when reading over HTTP(S) (#272)
* Accept http headers * Swapped headers var for the not global one * Changed headers to be a local var that is used if passed in * Headers global var copy vs assignment * flipped if else for headers check * Added header information to open() in http.py * Added tests * Added headers to seekable buffered input as well * fix test * add top-level test * flake8 for http.py * respond to code review * update help.txt
- Loading branch information
1 parent
e2e1bea
commit 0f17449
Showing
3 changed files
with
56 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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