Re: urllib http status codes

2005-12-28 Thread Alvin A. Delagon
Thanks! Will try httplib! ^_^ -- http://mail.python.org/mailman/listinfo/python-list

Re: urllib http status codes

2005-12-28 Thread Kent Johnson
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

urllib http status codes

2005-12-28 Thread Alvin A. Delagon
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! ^_^ -- http://mail.python.org/mailman/listinfo/python-list