How to get urllib2 HTTPConnection object, use httplib methods?

Discussion in 'Python' started by Brian Raymond, Apr 22, 2013.

  1. 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.
     
    Brian Raymond, Apr 22, 2013
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ravi Ambros Wallau
    Replies:
    0
    Views:
    1,370
    Ravi Ambros Wallau
    Oct 25, 2004
  2. Joseph

    urllib2/httplib and email mime

    Joseph, Aug 22, 2003, in forum: Python
    Replies:
    0
    Views:
    420
    Joseph
    Aug 22, 2003
  3. Josef Cihal
    Replies:
    0
    Views:
    1,252
    Josef Cihal
    Sep 5, 2005
  4. Michael Oliver
    Replies:
    0
    Views:
    657
    Michael Oliver
    Jan 13, 2006
  5. JuHui
    Replies:
    4
    Views:
    6,373
    robert
    Mar 17, 2006
  6. RajNewbie
    Replies:
    2
    Views:
    942
    RajNewbie
    Dec 1, 2008
  7. ak
    Replies:
    7
    Views:
    6,908
  8. Bob Fnord
    Replies:
    2
    Views:
    946
    Bob Fnord
    May 12, 2011
Loading...