Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Laviale committed Nov 13, 2014
1 parent f3c1072 commit afd02c6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit afd02c6

Please sign in to comment.