Module: Rbkb::Http::ResponseHeaders

Defined in:
lib/rbkb/http/headers.rb

Overview

A mixin for HTTP Response headers to add specific response header behaviors and features.

To instantiate a new response header, use Headers.response_hdr

Instance Method Summary collapse

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.



263
264
265
# File 'lib/rbkb/http/headers.rb', line 263

def get_first_obj(*args)
  ResponseStatus.new(*args)
end