Allow using parsed_body in ActionController::TestCase #34717
By doing so, the response parser can be correctly set for
The text was updated successfully, but these errors were encountered:
… by switching the initialzation of an appropriate response parser in `ActionDispatch::TestResponse` from eagerly to lazily. By doing so, the response parser can be correctly set for `ActionController::TestCase`, which doesn't include the content type header in the constructor but only sets it at a later time. Fixes rails#34676.