facebook/php-webdriver — pull request #34 by robocoder (2012-05-20 03:52:49+00:00)
Title: JsonWireProtocol dictates (i.e., "must") that all commands accept a cont...

...ent-type of application/json;charset=UTF-8

also, set Content-Length to 0 explicitly when empty POST request; variation of an upstream patch by @OniOni