class documentation
class TestHTTPGitRequest(HTTPGitRequest):
HTTPGitRequest with overridden methods to help test caching.
Method | __init__ |
Undocumented |
Method | cache |
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 |
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 |
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 |
Undocumented |
Instance Variable | _headers |
Undocumented |
Instance Variable | _start |
Undocumented |
overrides
dulwich.web.HTTPGitRequest.cache_forever
Set the response to be cached forever by the client.