The test has a redirect where the initial GET request had Accept:
application/json, and ensures that this is also the type of the
redirected request.
The fix is done in the setup of the replicated HttpBaseChannel, where
the previous channel's Accept header is copied to the new one, if it
exists.