Allow setting of request CONTENT-TYPE with as: in controller tests
#26212

evmunro wants to merge evmunro:as-json-sets-request-to-json-for-controller-test into rails:master

We do not currently have an analysis of these two commits