commit | 334851e4b6390f4c78e463b977003f1d967c88ed | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Mon Sep 19 08:05:31 2011 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Mon Sep 19 14:51:47 2011 -0700 |
tree | 7c8c5004c7cbb3079b460aee97095955013147ff | |
parent | 014d0609899dba70a1af0b32de377ca08c54aded [diff] |
Enhance HTTP support Setting REPO_CURL_VERBOSE=1 in the environment will register a debug level HTTPHandler on the urllib2 library, showing HTTP requests and responses on the stderr channel of repo. During any HTTP or HTTPS request created inside of the repo process, a custom User-Agent header is now defined: User-Agent: git-repo/1.7.5 (Linux) git/1.7.7 Python/2.6.5 Change-Id: Ia5026fb1e1500659bd2af27416d85e205048bf26 Signed-off-by: Shawn O. Pearce <sop@google.com>