Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [gerrit@gerrit etc]$ curl --netrc -v http://<hostname>/git-http/private/bar.git/HEAD
- * About to connect() to <hostname>.de port 80 (#0)
- * Trying 10.0.101.11... connected
- * Connected to <hostname>.de (10.0.101.11) port 80 (#0)
- * Server auth using Basic with user 'gerrit.codereview'
- > GET /git-http/private/bar.git/HEAD HTTP/1.1
- > Authorization: Basic Z2Vycml0LmNvZGVyZXZpZXc6Z2VyMjAxMTA4MTYhcml0
- > User-Agent: curl/7.19.7 (x86_64-unknown-linux-gnu) libcurl/7.19.7 NSS/3.12.6.2 zlib/1.2.3 libidn/1.18 libssh2/1.2.2
- > Host: <hostname>.de
- > Accept: */*
- >
- < HTTP/1.1 200 OK
- < Date: Thu, 18 Aug 2011 14:09:12 GMT
- < Server: Apache/2.2.3 (CentOS)
- < Expires: Fri, 01 Jan 1980 00:00:00 GMT
- < Pragma: no-cache
- < Cache-Control: no-cache, max-age=0, must-revalidate
- < Content-Length: 23
- < Last-Modified: Mon, 04 Apr 2011 13:51:16 GMT
- < Connection: close
- < Content-Type: text/plain; charset=UTF-8
- <
- ref: refs/heads/master
- * Closing connection #0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement