Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rack::Head documentation to match code behavior [ci-skip] #50340

Merged
merged 1 commit into from Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion guides/source/configuring.md
Expand Up @@ -840,7 +840,7 @@ Allows the method to be overridden if `params[:_method]` is set. This is the mid

#### `Rack::Head`

Converts HEAD requests to GET requests and serves them as so.
Returns an empty body for all HEAD requests. It leaves all other requests unchanged.

#### Adding Custom Middleware

Expand Down
2 changes: 1 addition & 1 deletion guides/source/rails_on_rack.md
Expand Up @@ -339,7 +339,7 @@ Much of Action Controller's functionality is implemented as Middlewares. The fol

**`Rack::Head`**

* Converts HEAD requests to `GET` requests and serves them as so.
* Returns an empty body for all HEAD requests. It leaves all other requests unchanged.

**`Rack::ConditionalGet`**

Expand Down