instance method
has_header?
Ruby on Rails 5.2.8.1
Since v5.2.8.1Signature
has_header?(key)
No documentation comment.
Parameters
-
keyreq
Source
# File actionpack/lib/action_dispatch/http/response.rb, line 180
def has_header?(key); headers.key? key; end
Defined in actionpack/lib/action_dispatch/http/response.rb line 180
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Response