module documentation
HTTP server for dulwich that implements the git smart HTTP protocol.
Class |
|
Undocumented |
Class |
|
WSGI middleware that unzips gzip-encoded requests before passing on to the underlying application. |
Class |
|
Class encapsulating the state of a git WSGI application. |
Class |
|
Class encapsulating the state of a single git HTTP request. |
Class |
|
WSGI middleware that limits the input length of a request to that specified in Content-Length. |
Class |
|
ServerHandler that uses dulwich's logger for logging exceptions. |
Class |
|
WSGIRequestHandler that uses dulwich's logger for logging exceptions. |
Class |
|
No class docstring; 1/1 method documented |
Function | cache |
Undocumented |
Function | date |
Undocumented |
Function | get |
Undocumented |
Function | get |
Undocumented |
Function | get |
Undocumented |
Function | get |
Undocumented |
Function | get |
Undocumented |
Function | get |
Get a Repo instance for the given backend and URL regex match. |
Function | get |
Undocumented |
Function | handle |
Undocumented |
Function | main |
Entry point for starting an HTTP git server. |
Function | make |
Factory function to create an instance of HTTPGitApplication, correctly wrapped with needed middleware. |
Function | send |
Send a file-like object to the request output. |
Function | url |
Extract the URL prefix from a regex match. |
Constant | HTTP |
Undocumented |
Constant | HTTP |
Undocumented |
Constant | HTTP |
Undocumented |
Constant | HTTP |
Undocumented |
Constant | NO |
Undocumented |
Variable | logger |
Undocumented |
Class | _ |
Wrapper class to limit the length of reads from a file-like object. |
Function | _chunk |
Undocumented |
Function | _url |
Undocumented |
Factory function to create an instance of HTTPGitApplication, correctly wrapped with needed middleware.
Send a file-like object to the request output.
Returns: Iterator over the contents of the file, as chunks.
Parameters | |
req | The HTTPGitRequest object to send output to. |
f | An open file-like object to send; will be closed. |
content | The MIME type for the file. |
Extract the URL prefix from a regex match.
- Returns: The URL prefix, defined as the text before the match in the
- original string. Normalized to start with one leading slash and end with zero.
Parameters | |
mat | A regex match object. |
Returns | |
str | Undocumented |