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


Groups > comp.lang.python > #7919

debugging https connections with urllib2?

From Roy Smith <roy@panix.com>
Newsgroups comp.lang.python
Subject debugging https connections with urllib2?
Date 2011-06-18 14:57 -0400
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <roy-85CE29.14573118062011@news.panix.com> (permalink)

Show all headers | View raw


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?  Things like tcpdump and strace only have access to the encrypted 
data.

We can't just switch to using http because the endpoint we're talking to 
(and don't have control over) refuses plain-text connections.

Back to comp.lang.python | Previous | NextNext 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