aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Kenny <elkenny@gmail.com>2017-10-28 00:39:00 +0100
committerEugene Kenny <elkenny@gmail.com>2017-10-28 00:39:00 +0100
commitd898f9e55cc294d5f4338c443e76220349f9093b (patch)
treebb502681f589af7487975088a091ffbe841c36fc
parentdf505fb8104588af13c993c1dcd881398889dd30 (diff)
downloadrails-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.
-rw-r--r--actionpack/lib/action_dispatch/http/mime_negotiation.rb3
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") =~ /^([^,\;]*)/