Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #7927

Re: debugging https connections with urllib2?

From Roy Smith <roy@panix.com>
Newsgroups comp.lang.python
Subject Re: debugging https connections with urllib2?
Date 2011-06-18 17:45 -0400
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <roy-6FB1B8.17454118062011@news.panix.com> (permalink)
References <roy-85CE29.14573118062011@news.panix.com> <4dfcff48$0$49184$e4fe514c@news.xs4all.nl>

Show all headers | View raw


In article <4dfcff48$0$49184$e4fe514c@news.xs4all.nl>,
 Irmen de Jong <irmen.NOSPAM@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.

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

debugging https connections with urllib2? Roy Smith <roy@panix.com> - 2011-06-18 14:57 -0400
  Re: debugging https connections with urllib2? Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2011-06-18 21:40 +0200
    Re: debugging https connections with urllib2? Roy Smith <roy@panix.com> - 2011-06-18 17:45 -0400

csiph-web