[BangPypers] Https and http difference in behaviour urllib2

Amit Sethi amit.pureenergy at gmail.com
Wed Feb 22 11:04:09 CET 2012


Hi all , Can someone explain to me why things are implemented the following
in urllib2.

When I pass encoded url using http it again encodes the parameters
whereas in case of https it does not urlencode again

so lets say the (http) call is
http//:example.com?email=amit%40sethi.comthe request is

http://example.com?email=amit%2540sethi.com

where as in case of https it is

  https://example.com?email=amit%40sethi.com


Thanks
Amit



-- 
A-M-I-T S|S


More information about the BangPypers mailing list