Package wsgiwapi :: Module wsgisupport :: Class HTTPMethodNotAllowed
[frames] | no frames]

Class HTTPMethodNotAllowed

source code

              object --+            
                       |            
exceptions.BaseException --+        
                           |        
        exceptions.Exception --+    
                               |    
                       HTTPError --+
                                   |
                                  HTTPMethodNotAllowed

Raise this exception if a method which is not allowed was used.
Instance Methods
 
__init__(self, request_method, allowed_methods)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from HTTPError: __getattr__, __unicode__

Inherited from exceptions.Exception: __new__

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

Inherited from object: __hash__, __reduce_ex__

Properties

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details

__init__(self, request_method, allowed_methods)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)