class documentation

class TestHTTPGitRequest(HTTPGitRequest):

View In Hierarchy

HTTPGitRequest with overridden methods to help test caching.

Method __init__ Undocumented
Method cache_forever Set the response to be cached forever by the client.
Method nocache Set the response to never be cached by the client.
Instance Variable cached Undocumented

Inherited from HTTPGitRequest:

Method add_header Add a header to the response.
Method error Begin a HTTP 500 response and return the text of a message.
Method forbidden Begin a HTTP 403 response and return the text of a message.
Method not_found Begin a HTTP 404 response and return the text of a message.
Method respond Begin a response with the given status and other headers.
Instance Variable dumb Undocumented
Instance Variable environ the WSGI environment for the request.
Instance Variable handlers Undocumented
Instance Variable _cache_headers Undocumented
Instance Variable _headers Undocumented
Instance Variable _start_response Undocumented
def __init__(self, *args, **kwargs):

Undocumented

def cache_forever(self):

Set the response to be cached forever by the client.

def nocache(self):

Set the response to never be cached by the client.

cached: bool =

Undocumented