debugging https connections with urllib2?
Roy Smith
roy at panix.com
Sat Jun 18 17:45:42 EDT 2011
In article <4dfcff48$0$49184$e4fe514c at news.xs4all.nl>,
Irmen de Jong <irmen.NOSPAM at xs4all.nl> wrote:
> On 18-6-2011 20:57, Roy Smith wrote:
> > We've got a REST call that we're making to a service provider over https
> > using urllib2.urlopen(). Is there any way to see exactly what's getting
> > sent and received over the network (i.e. all the HTTP headers) in plain
> > text?
>
> Put a proxy between the https-service endpoint and your client app.
> Let the proxy talk https and let your client talk http to the proxy.
Clever. I like. Thanks.
More information about the Python-list
mailing list