Skip to content

Commit 0f401b8

Browse files
committed
Fixed code examples in book/http_fundamentals
1 parent 67991a8 commit 0f401b8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

book/http_fundamentals.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. index::
1+
. . index::
22
single: Symfony2 Fundamentals
33

44
Symfony2 and HTTP Fundamentals
@@ -128,7 +128,7 @@ like this:
128128
Content-Type: text/html
129129
130130
<html>
131-
<!-- HTML for the xkcd comic -->
131+
<!-- ... HTML for the xkcd comic -->
132132
</html>
133133
134134
The HTTP response contains the requested resource (the HTML content in this
@@ -368,7 +368,6 @@ on that value. This can get ugly quickly:
368368
.. code-block:: php
369369
370370
// index.php
371-
372371
$request = Request::createFromGlobals();
373372
$path = $request->getPathInfo(); // the URI path being requested
374373

0 commit comments

Comments
 (0)