developerforce/Force.com-JavaScript-REST-Toolkit — pull request #20 by cwarden (2012-11-16 20:45:27+00:00)
Title: Check http-prefixed content-* headers

The built-in web server in PHP 5.4 sets the Content-Length and Content-Type
headers in $_SERVER['HTTP_CONTENT_LENGTH'] and $_SERVER['HTTP_CONTENT_TYPE']
rather than $_SERVER['CONTENT_LENGTH'] and $_SERVER['CONTENT_TYPE'].