Advertisement
philippxp

Untitled

Aug 18th, 2011
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. [gerrit@gerrit etc]$ curl --netrc -v http://<hostname>/git-http/private/bar.git/HEAD
  2. * About to connect() to <hostname>.de port 80 (#0)
  3. * Trying 10.0.101.11... connected
  4. * Connected to <hostname>.de (10.0.101.11) port 80 (#0)
  5. * Server auth using Basic with user 'gerrit.codereview'
  6. > GET /git-http/private/bar.git/HEAD HTTP/1.1
  7. > Authorization: Basic Z2Vycml0LmNvZGVyZXZpZXc6Z2VyMjAxMTA4MTYhcml0
  8. > 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
  9. > Host: <hostname>.de
  10. > Accept: */*
  11. >
  12. < HTTP/1.1 200 OK
  13. < Date: Thu, 18 Aug 2011 14:09:12 GMT
  14. < Server: Apache/2.2.3 (CentOS)
  15. < Expires: Fri, 01 Jan 1980 00:00:00 GMT
  16. < Pragma: no-cache
  17. < Cache-Control: no-cache, max-age=0, must-revalidate
  18. < Content-Length: 23
  19. < Last-Modified: Mon, 04 Apr 2011 13:51:16 GMT
  20. < Connection: close
  21. < Content-Type: text/plain; charset=UTF-8
  22. <
  23. ref: refs/heads/master
  24. * Closing connection #0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement