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

Class RequestLineReadyState

source code

object --+    
         |    
 BaseState --+
             |
            RequestLineReadyState

The headers can be read now

States to go from here:

Instance Methods [hide private]
dict
read_headers(self)
Read and parse the headers
source code

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

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]

read_headers(self)

source code 
Read and parse the headers
Returns: dict
A dict of comma folded headers, keys are lower cased
Raises:
Overrides: BaseState.read_headers