Permalink
Browse files

minor #4715 Improve readability (ifdattic)

This PR was merged into the 2.3 branch.

Discussion
----------

Improve readability

Remove horizontal scroll on smaller width

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3
| Fixed tickets |

Commits
-------

9b9f452 Improve readability
  • Loading branch information...
wouterj committed Dec 31, 2014
2 parents d3d6d22 + 9b9f452 commit 5055ef46ec4d38c4f32351a5cf0c802cf35f210a
Showing with 2 additions and 2 deletions.
  1. +2 −2 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

0 comments on commit 5055ef4

Please sign in to comment.