Package dpkt :: Module sip :: Class Response
[hide private]
[frames] | no frames]

Class Response

source code

object --+                
         |                
   ??.Temp --+            
             |            
   dpkt.Packet --+        
                 |        
      http.Message --+    
                     |    
         http.Response --+
                         |
                        Response

SIP response.

TODO: Longer class information....

Attributes:
    __hdr__: Header fields of SIP response.
    TODO.

Nested Classes [hide private]

Inherited from http.Message: __metaclass__

Instance Methods [hide private]

Inherited from http.Response: __bytes__, __str__, unpack

Inherited from http.Message: __init__, __len__, pack_hdr

Inherited from dpkt.Packet: __getitem__, __repr__, pack

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

Class Variables [hide private]
  __hdr_defaults__ = {'headers': {'CSeq': '', 'Call-ID': '', 'Co...
  __proto = 'SIP'

Inherited from http.Message: body, headers

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

__hdr_defaults__

Value:
{'headers': {'CSeq': '',
             'Call-ID': '',
             'Contact': '',
             'From': '',
             'To': ''},
 'reason': 'OK',
 'status': '200',
 'version': '2.0'}