[compat] Add compat_urllib_request_Request
authorSergey M․ <dstftw@gmail.com>
Thu, 19 Nov 2015 21:08:01 +0000 (03:08 +0600)
committerSergey M․ <dstftw@gmail.com>
Mon, 23 Nov 2015 15:55:12 +0000 (21:55 +0600)
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.


No differences found