class documentation
class RequestsHttpGitClient(AbstractHttpGitClient):
Undocumented
Method | __init__ |
Create a new GitClient instance. |
Instance Variable | session |
Undocumented |
Method | _http |
Perform HTTP request. |
Instance Variable | _password |
Undocumented |
Instance Variable | _username |
Undocumented |
Inherited from AbstractHttpGitClient
:
Class Method | from |
Create an instance of this client from a urlparse.parsed object. |
Method | __repr__ |
Undocumented |
Method | fetch |
Retrieve a pack from a git smart server. |
Method | get |
Retrieve the current refs from a git smart server. |
Method | get |
Retrieves full url to given path. |
Method | send |
Upload a pack to a remote repository. |
Instance Variable | dumb |
Undocumented |
Method | _discover |
Undocumented |
Method | _get |
Undocumented |
Method | _smart |
Send a 'smart' HTTP request. |
Instance Variable | _base |
Undocumented |
Instance Variable | _report |
Undocumented |
Inherited from GitClient
(via AbstractHttpGitClient
):
Method | archive |
Retrieve an archive of the specified tree. |
Method | clone |
Clone a repository. |
Method | fetch |
Fetch into a target repository. |
Static Method | _should |
Undocumented |
Method | _handle |
Handle the tail of a 'git-receive-pack' request. |
Method | _negotiate |
Undocumented |
Method | _negotiate |
Undocumented |
Instance Variable | _fetch |
Undocumented |
Instance Variable | _report |
Undocumented |
Instance Variable | _send |
Undocumented |
Create a new GitClient instance.
Parameters | |
base | Undocumented |
dumb | Undocumented |
config | Undocumented |
username | Undocumented |
password | Undocumented |
**kwargs | Undocumented |
thin | Whether or not thin packs should be retrieved |
report | Optional callback for reporting transport activity. |
include | send annotated tags when sending the objects they point to |
Perform HTTP request.
Parameters | |
url | Request URL. |
headers | Optional custom headers to override defaults. |
data | Request data. |
allow | Undocumented |
Returns | |
Tuple (response, read), where response is an urllib3 response object with additional content_type and redirect_location properties, and read is a consumable read method for the response data. |