bmb/pyazure — comment on commit 9bc35ea1d149eec8120168b0c89b704793454115
File:  line 0
By bmb:

Forgot to mention in the commit log that 9bc35ea also adds code that stops urllib2 from clobbering the headers set in POST requests. Some versions of the library, e.g. Python2.7 (no problem with 2.6), automatically add an unredirected content-type header assuming form-data has been added. If this is present in the request, even with a normal header indicating application/xml, then Azure returns an error. This version is known to work on 2.6.5, 2.6.7, 2.7, 2.7.2.