laravel/framework — pull request #1363 by petebacondarwin (2013-05-21 13:23:14+00:00)
Title: Ensure that Request reads JSON from php server

There is a problem in the PHP 5.4 built in web server. It incorrectly sends CONTENT_TYPE and CONTENT_LENGTH headers as HTTP_CONTENT_TYPE and HTTP_CONTENT_LENGTH headers.
This fix elegantly manages this problem, allowing Laravel to continue to load up JSON with Input::all() even if we are running off this dev PHP server.