Skip to content

Commit d23e110

Browse files
committed
Correct capitalization for the Content-Type header
http://tools.ietf.org/html/rfc7231#section-3.1.1.5
1 parent 9838438 commit d23e110

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)