amazonwebservices/aws-sdk-for-php — pull request #44 by ekeyser (2012-10-18 21:38:12+00:00)
Title: missing trailing space after colon in resp headers

I've seen response headers come back without a trailing space after the colon.
If no space after colon then $kv[1] is empty and php throws an "undefined offset" Notice.

Looked at some RFCs to see what "Content-Length:" headers SHOULD be. Will defer to someone more knowledgable.

I've also seen bugs around the web w/re to similar bugs so figure this is safe to suggest as an alternative way to parse response headers.