From afd02c6e164879656c70f0a346e0f0a1228681fe Mon Sep 17 00:00:00 2001 From: Olivier Laviale Date: Thu, 13 Nov 2014 15:48:56 +0100 Subject: [PATCH] Updated README --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fee92c2..0527e85 100644 --- a/README.md +++ b/README.md @@ -603,7 +603,7 @@ resolved into [RedirectResponse][] instances. -### A second chance for `HEAD` operations +### A second chance for `HEAD` requests When a request with a `HEAD` method fails to get a response (a [NotFound][] exception was thrown) the dispatcher tries the same request with a `GET` method instead. If a response is @@ -617,6 +617,15 @@ controller for the `GET` method is good enough. +### Stripping the body of responses to `HEAD` requests + +The dispatcher cares about responses to `HEAD` requests and will strip responses of their body +before returning them. + + + + + ## Exceptions The following exceptions are defined by the HTTP package: