forked from pypa/pip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Condense changelog with reference to discussion pypa#8042 - Change warning to hard error with reference to pypa#8042 on multiple index URLs - Change critical to warning on header parsing errors
- Loading branch information
1 parent
813db6b
commit abb9ab8
Showing
2 changed files
with
6 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,3 @@ | ||
Add CLI options for enhancing requests with HTTP headers | ||
Add CLI option -H / --header for enhancing requests with HTTP headers. | ||
|
||
-H, --header <key:val> HTTP header to include in all requests. This option | ||
can be used multiple times. Conflicts with | ||
--extra-index-url. | ||
|
||
Example: | ||
|
||
``` | ||
pip install \ | ||
--index-url http://pypi.index/simple/ \ | ||
--trusted-host pypi.index \ | ||
-H 'X-Spam: ~*~ SPAM ~*~' \ | ||
requests | ||
``` | ||
See https://github.com/pypa/pip/issues/8042 for discussion. |
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