Exception: LongBody::MisconfiguredBody

Inherits:
StandardError
  • Object
show all
Defined in:
lib/long_body.rb

Instance Method Summary collapse

Instance Method Details

#messageObject



17
18
19
20
21
22
# File 'lib/long_body.rb', line 17

def message
  "Either Transfer-Encoding: chunked or Content-Length: <digits> must be set. " +
  "If uncertain, insert Rack::ContentLength into your middleware chain to set Content-Length " +
  "for all responses that do not pre-specify it, and Rack::Chunked to apply chunked encoding " +
  "to all responses of unknown length"
end