aboutsummaryrefslogtreecommitdiff
path: root/test/test_all_urls.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-11-20 03:08:01 +0600
committerSergey M․ <dstftw@gmail.com>2015-11-23 21:55:12 +0600
commit13a10d5aa336be7c301a6d09eb4e9d7b50f51191 (patch)
tree65cba7d2d2c3ed79e3e9b6f61a4ccde7b9d3dcb5 /test/test_all_urls.py
parent9022726446c659f2bc38556105991e9797e0c8c8 (diff)
[compat] Add compat_urllib_request_Request
This is actually not a compatibility routine but rather a workaround for URLs without protocol specified. The protocol-less URL is treated as HTTP one since it's most probable scenario and it will most likely to redirect to HTTPS if HTTPS was actually expected. This routine could also be useful for any Request preprocessing that may be added in future.
Diffstat (limited to 'test/test_all_urls.py')
0 files changed, 0 insertions, 0 deletions