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

Public Member Functions

def update_headers (self, response)
 
- Public Member Functions inherited from BaseHeuristic
def warning (self, response)
 
def apply (self, response)
 

Detailed Description

Cache the response by providing an expires 1 day in the
future.

Member Function Documentation

◆ update_headers()

def update_headers (   self,
  response 
)
Update the response headers with any new headers.

NOTE: This SHOULD always include some Warning header to
      signify that the response was cached by the client, not
      by way of the provided headers.

Reimplemented from BaseHeuristic.


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