From 2a39702c83eb46fc496f487bb1955639a737a119 Mon Sep 17 00:00:00 2001 From: Sebastian Paczkowski <74934099+sebpacz@users.noreply.github.com> Date: Sun, 11 Apr 2021 13:23:04 +0200 Subject: [PATCH] [HttpFoundation] Minor fixes --- components/http_foundation.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/http_foundation.rst b/components/http_foundation.rst index 3699eb17258..410fcd2272a 100644 --- a/components/http_foundation.rst +++ b/components/http_foundation.rst @@ -190,7 +190,7 @@ Finally, the raw data sent with the request body can be accessed using $content = $request->getContent(); -For instance, this may be useful to process a XML string sent to the +For instance, this may be useful to process an XML string sent to the application by a remote service using the HTTP POST method. If the request body is a JSON string, it can be accessed using @@ -519,7 +519,7 @@ call:: 's_maxage' => 600, 'immutable' => true, 'last_modified' => new \DateTime(), - 'etag' => 'abcdef' + 'etag' => 'abcdef', ]); .. versionadded:: 5.1