Hi All,
I finally figured it out, thanks to Wireshark! I was adding my own
"Content-Length: 50173" header to the request, but httplib appears to
add its own header (also "Content-Length: 50173") which must have been
causing a conflict and making the sever return "HTTP/1.1 400 Bad
Request\r\n". As soon as I removed my own Content-Length header, it
worked!

Regards,
Noel

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

Reply via email to