Skip to content

Commit

Permalink
minor #4715 Improve readability (ifdattic)
Browse files Browse the repository at this point in the history
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 5055ef4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/http_fundamentals.rst
Expand Up @@ -242,8 +242,8 @@ have all the request information at your fingertips::
$request->headers->get('host'); $request->headers->get('host');
$request->headers->get('content_type'); $request->headers->get('content_type');


$request->getMethod(); // GET, POST, PUT, DELETE, HEAD $request->getMethod(); // GET, POST, PUT, DELETE, HEAD
$request->getLanguages(); // an array of languages the client accepts $request->getLanguages(); // an array of languages the client accepts


As a bonus, the ``Request`` class does a lot of work in the background that 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 you'll never need to worry about. For example, the ``isSecure()`` method
Expand Down

0 comments on commit 5055ef4

Please sign in to comment.