OpenQuizz
Une application de gestion des contenus pédagogiques
PreconditionRequired Class Reference
Inheritance diagram for PreconditionRequired:
Collaboration diagram for PreconditionRequired:

Static Public Attributes

 code
 
 description
 
- Static Public Attributes inherited from HTTPException
 code
 
 description
 

Additional Inherited Members

- Public Member Functions inherited from HTTPException
def __init__ (self, description=None, response=None)
 
def wrap (cls, exception, name=None)
 
def name (self)
 
def get_description (self, environ=None)
 
def get_body (self, environ=None)
 
def get_headers (self, environ=None)
 
def get_response (self, environ=None)
 
def __call__ (self, environ, start_response)
 
def __str__ (self)
 
def __repr__ (self)
 
- Data Fields inherited from HTTPException
 response
 

Detailed Description

*428* `Precondition Required`

The server requires this request to be conditional, typically to prevent
the lost update problem, which is a race condition between two or more
clients attempting to update a resource through PUT or DELETE. By requiring
each client to include a conditional header ("If-Match" or "If-Unmodified-
Since") with the proper value retained from a recent GET request, the
server ensures that each client has at least seen the previous revision of
the resource.

Field Documentation

◆ code

code
static

◆ description

description
static

The documentation for this class was generated from the following file: