developerforce / Force.com-JavaScript-REST-Toolkit

ForceTK - a minimal Force.com REST API for JavaScript apps
BSD 3-Clause "New" or "Revised" License
315 stars 175 forks source link

Check http-prefixed content-* headers #20

Closed cwarden closed 11 years ago

cwarden commented 11 years ago

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'].

metadaddy commented 11 years ago

Looks good - apologies for the delay!