forked from pex-tool/pex
-
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.
Add User-Agent header when resolving via urllib (pex-tool#663)
At least some Python Index servers return a simple format of packages page, redirecting to / to /+simple/. So there is a different result between `pex` run using `urllib` and using `requests` - in one case it errors.
- Loading branch information
1 parent
7dabca5
commit fe405f9
Showing
1 changed file
with
4 additions
and
3 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