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