Permalink
Browse files

minor #4345 Correct capitalization for the Content-Type header (GeertDD)

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 6ceb8cbf0d3e448f66d5ab822c4e68c33aef1ec3
Showing with 1 addition and 1 deletion.
  1. +1 −1 book/http_fundamentals.rst
@@ -186,7 +186,7 @@ PHP? In reality, PHP abstracts you a bit from the whole process::
$uri = $_SERVER['REQUEST_URI'];
$foo = $_GET['foo'];
header('Content-type: text/html');
header('Content-Type: text/html');
echo 'The URI requested is: '.$uri;
echo 'The value of the "foo" parameter is: '.$foo;

0 comments on commit 6ceb8cb

Please sign in to comment.