Skip to content

Commit 6ceb8cb

Browse files
committed
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
2 parents 8dc90ef + 74dc6f8 commit 6ceb8cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/http_fundamentals.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ PHP? In reality, PHP abstracts you a bit from the whole process::
186186
$uri = $_SERVER['REQUEST_URI'];
187187
$foo = $_GET['foo'];
188188

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

0 commit comments

Comments
 (0)