Package wtf :: Package impl :: Package http :: Module _request :: Class ResponseStatusWaitState
[hide private]
[frames] | no frames]

Class ResponseStatusWaitState

source code

object --+    
 BaseState --+

Waiting for status line

States to go from here:

Instance Methods [hide private]
send_status(self, status)
Send status line
source code

Inherited from BaseState: __init__, finish_headers, read_headers, read_request, request_body_stream, response_body_stream, send_continue, send_headers

Inherited from BaseState (private): _send_continue, _set_state

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
bool response_started = False
Was the response already started?
Instance Variables [hide private]

Inherited from BaseState (private): _request

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

send_status(self, status)

source code 
Send status line
  • status - The status line (3 digit code, space, reason)
Overrides: BaseState.send_status