diff options
author | Eugene Kenny <elkenny@gmail.com> | 2017-10-28 00:39:00 +0100 |
---|---|---|
committer | Eugene Kenny <elkenny@gmail.com> | 2017-10-28 00:39:00 +0100 |
commit | d898f9e55cc294d5f4338c443e76220349f9093b (patch) | |
tree | bb502681f589af7487975088a091ffbe841c36fc /actionpack | |
parent | df505fb8104588af13c993c1dcd881398889dd30 (diff) | |
download | rails-d898f9e55cc294d5f4338c443e76220349f9093b.tar.gz rails-d898f9e55cc294d5f4338c443e76220349f9093b.tar.bz2 rails-d898f9e55cc294d5f4338c443e76220349f9093b.zip |
Remove mention of X-Post-Data-Format header [ci skip]
Support for this header was removed when `actionpack-xml_parser` was
extracted, and has since been dropped from the gem.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/http/mime_negotiation.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/actionpack/lib/action_dispatch/http/mime_negotiation.rb b/actionpack/lib/action_dispatch/http/mime_negotiation.rb index 0ca18d98a1..d7435fa8df 100644 --- a/actionpack/lib/action_dispatch/http/mime_negotiation.rb +++ b/actionpack/lib/action_dispatch/http/mime_negotiation.rb @@ -12,9 +12,6 @@ module ActionDispatch end # The MIME type of the HTTP request, such as Mime[:xml]. - # - # For backward compatibility, the post \format is extracted from the - # X-Post-Data-Format HTTP header if present. def content_mime_type fetch_header("action_dispatch.request.content_type") do |k| v = if get_header("CONTENT_TYPE") =~ /^([^,\;]*)/ |