Skip to content

Commit

Permalink
Correctly describe Head Plug (#5727)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchiey committed Feb 23, 2024
1 parent aa01c16 commit b8fb9b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/plug.md
Expand Up @@ -156,7 +156,7 @@ The default endpoint plugs do quite a lot of work. Here they are in order:

- `Plug.MethodOverride` - converts the request method to PUT, PATCH or DELETE for POST requests with a valid `_method` parameter.

- `Plug.Head` - converts HEAD requests to GET requests and strips the response body.
- `Plug.Head` - converts HEAD requests to GET requests.

- `Plug.Session` - a plug that sets up session management. Note that `fetch_session/2` must still be explicitly called before using the session, as this plug just sets up how the session is fetched.

Expand Down

0 comments on commit b8fb9b6

Please sign in to comment.