@@ -278,7 +278,7 @@ the user is connecting via a secured connection (i.e. HTTPS).
278278 prepare and store context-specific information about the request.
279279
280280Symfony Response Object
281- ~~~~~~~~~~~~~~~~~~~~~~
281+ ~~~~~~~~~~~~~~~~~~~~~~~
282282
283283Symfony also provides a :class: `Symfony\\ Component\\ HttpFoundation\\ Response `
284284class: a simple PHP representation of an HTTP response message. This allows your
@@ -290,7 +290,7 @@ needs to be returned to the client::
290290 $response = new Response();
291291
292292 $response->setContent('<html><body><h1>Hello world!</h1></body></html>');
293- $response->setStatusCode(Response::HTTP_OK);;
293+ $response->setStatusCode(Response::HTTP_OK);
294294
295295 // set a HTTP response header
296296 $response->headers->set('Content-Type', 'text/html');
@@ -306,6 +306,7 @@ There are also special classes to make certain types of responses easier to crea
306306 files and sending file downloads);
307307
308308* :ref: `StreamedResponse <streaming-response >` (for streaming any other large responses);
309+
309310.. tip ::
310311
311312 The ``Request `` and ``Response `` classes are part of a standalone component
@@ -413,7 +414,7 @@ The Symfony Application Flow
413414When you let Symfony handle each request, life is much easier. Symfony follows
414415the same simple pattern for every request:
415416
416- _request-flow-figure:
417+ .. _request-flow-figure :
417418
418419.. figure :: /images/request-flow.png
419420 :align: center
@@ -534,7 +535,7 @@ Symfony Framework, or just one piece of Symfony all by itself.
534535.. index ::
535536 single: Symfony Components
536537
537- _standalone-tools-the-symfony2-components:
538+ .. _standalone-tools-the-symfony2-components :
538539
539540Standalone Tools: The Symfony *Components *
540541~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -575,7 +576,7 @@ Each one of these components is decoupled and can be used in *any* PHP project,
575576regardless of whether or not you use the Symfony Framework. Every part is
576577made to be used if needed and replaced when necessary.
577578
578- _the-full-solution-the-symfony2-framework:
579+ .. _the-full-solution-the-symfony2-framework :
579580
580581The Full Solution: The Symfony *Framework *
581582~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -601,11 +602,11 @@ sensible defaults. For more advanced users, the sky is the limit.
601602
602603.. _`xkcd` : http://xkcd.com/
603604.. _`XMLHttpRequest` : https://en.wikipedia.org/wiki/XMLHttpRequest
604- .. _`List of HTTP header fields` : https://en.wikipedia.org/wiki/List_of_HTTP_header_fields
605- .. _`List of HTTP status codes` : https://en.wikipedia.org/wiki/List_of_HTTP_status_codes
606- .. _`List of common media types` : https://www.iana.org/assignments/media-types/media-types.xhtml
607605.. _`HTTP 1.1 RFC` : http://www.w3.org/Protocols/rfc2616/rfc2616.html
608606.. _`HTTP Bis` : http://datatracker.ietf.org/wg/httpbis/
609607.. _`Live HTTP Headers` : https://addons.mozilla.org/en-US/firefox/addon/live-http-headers/
608+ .. _`List of HTTP header fields` : https://en.wikipedia.org/wiki/List_of_HTTP_header_fields
609+ .. _`List of HTTP status codes` : https://en.wikipedia.org/wiki/List_of_HTTP_status_codes
610+ .. _`List of common media types` : https://www.iana.org/assignments/media-types/media-types.xhtml
610611.. _`Validator` : https://github.com/symfony/validator
611612.. _`Swift Mailer` : http://swiftmailer.org/
0 commit comments