Skip to content

Commit

Permalink
Merge pull request rails#37001 from abhaynikam/36996-remove-unused-nu…
Browse files Browse the repository at this point in the history
…ll-content-type-header

Removed unused NullContentTypeHeader after changes in rails#36996
  • Loading branch information
carlosantoniodasilva authored Aug 21, 2019
2 parents 2a3f759 + 42dae0a commit 3ec1dad
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion actionpack/lib/action_dispatch/http/response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,6 @@ def cookies

private
ContentTypeHeader = Struct.new :mime_type, :extra, :charset
NullContentTypeHeader = ContentTypeHeader.new nil, nil, nil

def parse_content_type(content_type)
if content_type && match = CONTENT_TYPE_PARSER.match(content_type)
Expand Down

0 comments on commit 3ec1dad

Please sign in to comment.