From 9b9f45271f46be90e5587dd8bd5094db30b75bcf Mon Sep 17 00:00:00 2001 From: "Andrew (Andrius) Marcinkevicius" Date: Tue, 30 Dec 2014 17:28:01 +0200 Subject: [PATCH] Improve readability Remove horizontal scroll on smaller width | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3 | Fixed tickets | --- book/http_fundamentals.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/http_fundamentals.rst b/book/http_fundamentals.rst index 74da155cc7f..b955c03ea7e 100644 --- a/book/http_fundamentals.rst +++ b/book/http_fundamentals.rst @@ -242,8 +242,8 @@ have all the request information at your fingertips:: $request->headers->get('host'); $request->headers->get('content_type'); - $request->getMethod(); // GET, POST, PUT, DELETE, HEAD - $request->getLanguages(); // an array of languages the client accepts + $request->getMethod(); // GET, POST, PUT, DELETE, HEAD + $request->getLanguages(); // an array of languages the client accepts As a bonus, the ``Request`` class does a lot of work in the background that you'll never need to worry about. For example, the ``isSecure()`` method