instance method
debug_headers
Ruby on Rails 5.2.8.1
Since v5.2.8.1 Last seen in v5.2.8.1Signature
debug_headers(headers)
No documentation comment.
Parameters
-
headersreq
Source
# File actionpack/lib/action_dispatch/middleware/debug_exceptions.rb, line 30
def debug_headers(headers)
if headers.present?
headers.inspect.gsub(",", ",\n")
else
"None"
end
end
Defined in actionpack/lib/action_dispatch/middleware/debug_exceptions.rb line 30
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::DebugExceptions::DebugView