Module: Rbkb::Http::RequestHeaders
- Defined in:
- lib/rbkb/http/headers.rb
Overview
A mixin for HTTP Request headers to add specific request header behaviors and features.
To instantiate a new request header, use Headers.request_hdr
Constant Summary collapse
- NO_PARAMETERS =
["Referer", "Host"]
Instance Method Summary collapse
-
#get_first_obj(*args) ⇒ Object
This method is used to resolve the parser for the first entity above the HTTP headers.
Instance Method Details
#get_first_obj(*args) ⇒ Object
This method is used to resolve the parser for the first entity above the HTTP headers. The incarnation for ResponseHeaders returns ResponseStatus See Headers.capture_full_headers for more information.
283 284 285 |
# File 'lib/rbkb/http/headers.rb', line 283 def get_first_obj(*args) RequestAction.new(*args) end |