Skip to content

Commit

Permalink
minor #4345 Correct capitalization for the Content-Type header (GeertDD)
Browse files Browse the repository at this point in the history
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #4345).

Discussion
----------

Correct capitalization for the Content-Type header

http://tools.ietf.org/html/rfc7231#section-3.1.1.5

Commits
-------

74dc6f8 Correct capitalization for the Content-Type header
  • Loading branch information
wouterj committed Oct 20, 2014
2 parents 8dc90ef + 74dc6f8 commit 6ceb8cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/http_fundamentals.rst
Expand Up @@ -186,7 +186,7 @@ PHP? In reality, PHP abstracts you a bit from the whole process::
$uri = $_SERVER['REQUEST_URI']; $uri = $_SERVER['REQUEST_URI'];
$foo = $_GET['foo']; $foo = $_GET['foo'];


header('Content-type: text/html'); header('Content-Type: text/html');
echo 'The URI requested is: '.$uri; echo 'The URI requested is: '.$uri;
echo 'The value of the "foo" parameter is: '.$foo; echo 'The value of the "foo" parameter is: '.$foo;


Expand Down

0 comments on commit 6ceb8cb

Please sign in to comment.