In John Gordon 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 up my own post, this was happening because
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
i