Exception: Rackful::HTTP406NotAcceptable

Inherits:
HTTPStatus
  • Object
show all
Defined in:
lib/rackful/httpstatus.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (HTTP406NotAcceptable) initialize(content_types)

Returns a new instance of HTTP406NotAcceptable



211
212
213
# File 'lib/rackful/httpstatus.rb', line 211

def initialize content_types
  super( 406, '', :Available content-type(s):' => content_types )
end

Instance Attribute Details

- (void) headers (readonly) Originally defined in class HTTPStatus

Returns the value of attribute headers

- (void) status (readonly) Originally defined in class HTTPStatus

Returns the value of attribute status

- (void) to_rackful (readonly) Originally defined in class HTTPStatus

Returns the value of attribute to_rackful