This repository has been archived by the owner on Sep 25, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prefer ActionDispatch::Response#media_type when it's available
rails/rails@ea5f509 changed #content_type to return the unmodified Content-Type header, including all parameters. It also introduced #media_type, which behaves as #content_type did previously. Preferring #media_type fixes redirection assertions on edge Rails.
- Loading branch information