By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,587 Members | 1,711 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,587 IT Pros & Developers. It's quick & easy.

http status response

P: n/a
Hi guys,

How do I go about getting the http response status as with the httplib
method <connection_handle>.getresponse() 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.



Richard Eibrand
Phone: +353 1 492 7444
Mobile: +353 86 388 8887
Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.