Exception: Puma::ContinueRejected
- Inherits:
-
StandardError
- Object
- StandardError
- Puma::ContinueRejected
- Defined in:
- lib/puma/client.rb
Overview
Raised when a continue_callback answers an Expect: 100-continue
request itself, so the request body is never read.
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ ContinueRejected
constructor
A new instance of ContinueRejected.
Constructor Details
#initialize(response) ⇒ ContinueRejected
Returns a new instance of ContinueRejected.
27 28 29 30 |
# File 'lib/puma/client.rb', line 27 def initialize(response) super("Expect: 100-continue answered by continue_callback") @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
25 26 27 |
# File 'lib/puma/client.rb', line 25 def response @response end |