class documentation

class RequestsHttpGitClient(AbstractHttpGitClient):

View In Hierarchy

Undocumented

Method __init__ Create a new GitClient instance.
Instance Variable session Undocumented
Method _http_request Perform HTTP request.
Instance Variable _password Undocumented
Instance Variable _username Undocumented

Inherited from AbstractHttpGitClient:

Class Method from_parsedurl Create an instance of this client from a urlparse.parsed object.
Method __repr__ Undocumented
Method fetch_pack Retrieve a pack from a git smart server.
Method get_refs Retrieve the current refs from a git smart server.
Method get_url Retrieves full url to given path.
Method send_pack Upload a pack to a remote repository.
Instance Variable dumb Undocumented
Method _discover_references Undocumented
Method _get_url Undocumented
Method _smart_request Send a 'smart' HTTP request.
Instance Variable _base_url Undocumented
Instance Variable _report_status_parser 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_send_pack Undocumented
Method _handle_receive_pack_tail Handle the tail of a 'git-receive-pack' request.
Method _negotiate_receive_pack_capabilities Undocumented
Method _negotiate_upload_pack_capabilities Undocumented
Instance Variable _fetch_capabilities Undocumented
Instance Variable _report_activity Undocumented
Instance Variable _send_capabilities Undocumented
def __init__(self, base_url, dumb=None, config=None, username=None, password=None, **kwargs):

Create a new GitClient instance.

Parameters
base_urlUndocumented
dumbUndocumented
configUndocumented
usernameUndocumented
passwordUndocumented
**kwargsUndocumented
thin_packsWhether or not thin packs should be retrieved
report_activityOptional callback for reporting transport activity.
include_tagssend annotated tags when sending the objects they point to
session =

Undocumented

def _http_request(self, url, headers=None, data=None, allow_compression=False):

Perform HTTP request.

Parameters
urlRequest URL.
headersOptional custom headers to override defaults.
dataRequest data.
allow_compressionUndocumented
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.
_password =

Undocumented

_username =

Undocumented