Donald Stufft
ddb2f1b459
Deprecate accessing non secure origins by default
...
* Deprecates accessing non secure origins by default, the list of
which is taken from Chrome.
* Adds a --trusted-host flag to enable users to mark a specific
host as a secure origin regardless of what we think.
* Refactors the original warning to better indicate the intent
and the new flag.
2014-12-10 16:35:54 -05:00
Donald Stufft
41a64dad8b
Fix pep8 tests
2014-09-18 11:45:32 -04:00
Donald Stufft
12e194bbc6
Fix compatability with Python 2.6
2014-09-18 08:30:03 -04:00
Donald Stufft
20d77c62a4
General clean ups of the compat module
2014-09-11 19:22:53 -04:00
Donald Stufft
06913540f7
Remove unused import
2014-09-11 19:22:53 -04:00
Donald Stufft
209a7ff5f6
Move the encoding down into the Python 3 block
2014-09-11 19:22:52 -04:00
Donald Stufft
492c17bf30
Remove unused get_http_message_param
2014-09-11 19:22:52 -04:00
Donald Stufft
6b3be72991
Switch from using cmp to using sorted() with a key func
2014-09-11 19:22:52 -04:00
Donald Stufft
ec91d8e421
Move from pip.compat.* to six.moves.* for urllib related stuff
2014-09-11 18:40:45 -04:00
Donald Stufft
36a0187476
Catch the correct error and remove unused urllib errors from pip.compat
2014-09-11 15:28:21 -04:00
Donald Stufft
9b174aee79
Switch to using six.StringIO instead of pip.compat.StringIO
2014-09-11 15:25:23 -04:00
Donald Stufft
eaffd74543
Removed the PermissionError exception as it was never actually used
2014-09-11 15:12:13 -04:00
Donald Stufft
af1b8bd769
Remove the WindowsError as nothing seems to actually use it
2014-09-11 15:10:46 -04:00
Donald Stufft
767d11e49c
Switch to using the stdlib logger instead of pip.log
2014-09-10 09:36:09 -04:00
Donald Stufft
8407f19986
Convert pip.compat into a package
2014-09-10 07:33:57 -04:00