Package wtf :: Package app :: Module http_response :: Class UnsupportedMediaType
[hide private]
[frames] | no frames]

Class UnsupportedMediaType

source code

              object --+            
                       |            
exceptions.BaseException --+        
                           |        
       exceptions.SystemExit --+    
                               |    
                    HTTPResponse --+
                                   |
                                  UnsupportedMediaType

415 Unsupported Media Type (RFC 2616)
Instance Methods [hide private]

Inherited from HTTPResponse: __init__, body, headers, init

Inherited from exceptions.SystemExit: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __str__, __unicode__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Class Variables [hide private]
str message = '<p>The supplied request data is not in a format\nac...
Message template
str reason = 'Unsupported Media Type'
HTTP response reason phrase
int status = 415
HTTP response status

Inherited from HTTPResponse (private): _FRAME

Instance Variables [hide private]

Inherited from HTTPResponse: param

Inherited from HTTPResponse (private): _content_type, _escaped, _replace

Properties [hide private]

Inherited from exceptions.SystemExit: code

Inherited from exceptions.BaseException: args

Inherited from object: __class__

Class Variable Details [hide private]

message

Message template
Type:
str
Value:
'''<p>The supplied request data is not in a format
acceptable for processing by this resource.</p>'''