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


Groups > comp.lang.python > #44037

How to get urllib2 HTTPConnection object, use httplib methods?

From Brian Raymond <padrino121@email.com>
Subject How to get urllib2 HTTPConnection object, use httplib methods?
Date 2013-04-21 22:33 -0400
Newsgroups comp.lang.python
Message-ID <mailman.899.1366607820.3114.python-list@python.org> (permalink)

Show all headers | View raw


I have a httplib based application and in an effort to find a quick way to start leveraging urllib2, including NTLM authentication (via python-ntlm) I am hoping there is a way to utilize an HTTPConnection object opened by urllib2. 

The goal is to change the initial opener to use urllib2, after that continue to use httplib methods.

Thanks. 

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


Thread

How to get urllib2 HTTPConnection object, use httplib methods? Brian Raymond <padrino121@email.com> - 2013-04-21 22:33 -0400

csiph-web