My favorites
▼
|
Sign in
gerrit
Gerrit Code Review
Project Home
Downloads
Wiki
Issues
Source
Export to GitHub
New issue
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
2764
attachment: curl.log
(2.6 KB)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
~/temp$ curl -v -n -X POST --digest --user 'zaro:XXXX' --data-binary @my-review.txt --header "Content-Type: application/json;charset=UTF-8" http://localhost:8080/a/changes/2/revisions/1/review
* Couldn't find host localhost in the .netrc file; using defaults
* Adding handle: conn: 0x7feccc80c000
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7feccc80c000) send_pipe: 1, recv_pipe: 0
* About to connect() to localhost port 8080 (#0)
* Trying ::1...
* Connected to localhost (::1) port 8080 (#0)
* Server auth using Digest with user 'zaro'
> POST /a/changes/2/revisions/1/review HTTP/1.1
> User-Agent: curl/7.30.0
> Host: localhost:8080
> Accept: */*
> Content-Type: application/json;charset=UTF-8
> Content-Length: 0
>
< HTTP/1.1 401 Unauthorized
< Date: Wed, 09 Jul 2014 05:59:52 GMT
< WWW-Authenticate: Digest realm="Gerrit Code Review", domain="http://localhost:8080/", qop="auth", nonce="XZ9J900gFykT03iP0sju0d3xrLDLnWs+8f5ijw==$"
< Content-Type: text/plain; charset=ISO-8859-1
< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
< Pragma: no-cache
< Expires: Fri, 01 Jan 1990 00:00:00 GMT
< Content-Length: 12
<
* Ignoring the response-body
* Connection #0 to host localhost left intact
* Issue another request to this URL: 'http://localhost:8080/a/changes/2/revisions/1/review'
* Couldn't find host localhost in the .netrc file; using defaults
* Found bundle for host localhost: 0x7feccbc070d0
* Re-using existing connection! (#0) with host localhost
* Connected to localhost (::1) port 8080 (#0)
* Adding handle: conn: 0x7feccc80c000
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7feccc80c000) send_pipe: 1, recv_pipe: 0
* Server auth using Digest with user 'zaro'
> POST /a/changes/2/revisions/1/review HTTP/1.1
> Authorization: Digest username="zaro", realm="Gerrit Code Review", nonce="XZ9J900gFykT03iP0sju0d3xrLDLnWs+8f5ijw==$", uri="/a/changes/2/revisions/1/review", cnonce="ICAgICAgICAgICAgICAgICAgICAgIDE0MDUzMzc0ODg=", nc=00000001, qop=auth, response="e4b204b24a0a1250f0b6b3cc90acaf4d"
> User-Agent: curl/7.30.0
> Host: localhost:8080
> Accept: */*
> Content-Type: application/json;charset=UTF-8
> Content-Length: 216
>
* upload completely sent off: 216 out of 216 bytes
< HTTP/1.1 500 Server Error
< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
< Pragma: no-cache
< Expires: Fri, 01 Jan 1990 00:00:00 GMT
< Date: Wed, 09 Jul 2014 05:59:52 GMT
< Content-Type: text/plain; charset=UTF-8
< Content-Length: 22
<
Internal server error
* Connection #0 to host localhost left intact
~/temp$
Powered by
Google Project Hosting