From d23e11079b90ae5e6ba18b8a6a984cc039a4d21d Mon Sep 17 00:00:00 2001 From: Geert De Deckere Date: Mon, 20 Oct 2014 10:59:26 +0200 Subject: [PATCH 1/3] Correct capitalization for the Content-Type header http://tools.ietf.org/html/rfc7231#section-3.1.1.5 --- book/http_fundamentals.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/http_fundamentals.rst b/book/http_fundamentals.rst index 14a3f9a07c7..9db26128b90 100644 --- a/book/http_fundamentals.rst +++ b/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; From 072f4b7f814e60ab77c5cbef0949d4e1c4e241e3 Mon Sep 17 00:00:00 2001 From: Geert De Deckere Date: Mon, 20 Oct 2014 11:06:06 +0200 Subject: [PATCH 2/3] Revert "Correct capitalization for the Content-Type header" This reverts commit d23e11079b90ae5e6ba18b8a6a984cc039a4d21d. --- book/http_fundamentals.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/http_fundamentals.rst b/book/http_fundamentals.rst index 9db26128b90..14a3f9a07c7 100644 --- a/book/http_fundamentals.rst +++ b/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; From 9f86a28de695f13b920b9cf0deb615ef07d4fe91 Mon Sep 17 00:00:00 2001 From: Geert De Deckere Date: Mon, 20 Oct 2014 11:12:12 +0200 Subject: [PATCH 3/3] Correct capitalization for the Content-Type header http://tools.ietf.org/html/rfc7231#section-3.1.1.5 --- book/http_fundamentals.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/http_fundamentals.rst b/book/http_fundamentals.rst index 14a3f9a07c7..9db26128b90 100644 --- a/book/http_fundamentals.rst +++ b/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;