Alvin A. Delagon wrote:
> Greetings!
> 
> Is there any way I can obtain the HTTP status codes when using the 
> urllib module? As of  now I can only think of doing a regex on the 
> result of the read(). Thanks in advance! ^_^

If you connect with httplib you get the status code directly from the 
response object.

Kent
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to