Re: Unexpected 411 error response using httplib

2009-09-11 Thread John Gordon
In h7h963$4a...@reader1.panix.com John Gordon gor...@panix.com writes: As you can see, I am including the call to putheader() for Content-Length, and the debugging output confirms that the header is present in the outgoing message. So why am I getting a 411 Length Required error? To follow

Unexpected 411 error response using httplib

2009-08-31 Thread John Gordon
I'm writing some code that queries a Microsoft Exchange Web Services server. The server is responding with a 411 Length Required error, which is strange because I am definitely sending a Content-Length header. Here's the code: - import httplib