Revert "Partly revert unnecessary change in #36996"

This reverts commit 35737465ff.
This commit is contained in:
Ryuta Kamizono 2019-08-23 00:34:44 +09:00
parent 3ae59fe14a
commit 85c0f96618
1 changed files with 1 additions and 1 deletions

View File

@ -426,7 +426,7 @@ module ActionDispatch # :nodoc:
if content_type && match = CONTENT_TYPE_PARSER.match(content_type)
ContentTypeHeader.new(match[:type], match[:extra], match[:charset])
else
NullContentTypeHeader
ContentTypeHeader.new(content_type, nil)
end
end