http status response

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Richard Eibrand

    #1

    http status response

    Hi guys,

    How do I go about getting the http response status as with the httplib
    method <connection_han dle>.getrespons e() using urllib2?

    Thing is I need to authenticate with a server, which I can do with urllib2
    (by passing credentials), but I also need to get the status response codes
    and not only when raised as an exception.

    Any ideas? I've gone google blind at this stage - as I'm not able to find
    anything useful.

    tia,

    R

    --
    Richard Eibrand
    Phone: +353 1 492 7444
    Mobile: +353 86 388 8887
    Propylon has been working with laws, regulations, and standards for more than twenty years. We develop software solutions to support the drafting and management of legislation, as well as solutions for private sector organizations that need to manage constant changes to regulatory framework.

Working...