rackspace/php-opencloud — pull request #221 by maxlinc (2013-11-12 01:15:38+00:00)
Title: Not sending Content-Type on requests

You find interesting things while intercepting via proxies...

php-opencloud is sending Content-Type on authentication (see [here](https://github.com/rackspace/php-opencloud/blob/7d2687b7fecf4d81198563a634b830a302c2cead/lib/OpenCloud/OpenStack.php#L277)), but not on other services.

I guess OpenRepose is being lenient and assuming JSON rather than XML. It is more correct (and less likely to cause problems with proxies or other middleware) if you send the Content-Type, though.

I don't think this PR covers all the necessary posts. Does each post need to be changed, or is it possible to change in the HTTP client?