summaryrefslogtreecommitdiff
path: root/gdata/tests/traces/tasks/tasklist-insert-unauthorised
blob: 7bfd2a7a4f2b33a0b82a33350312ff846f2d0923 (plain)
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
> POST /tasks/v1/users/@me/lists HTTP/1.1
> Soup-Debug-Timestamp: 1411316511
> Soup-Debug: SoupSession 1 (0xb5b4a0), SoupMessage 1 (0xda1190), SoupSocket 1 (0xdbcb40)
> Host: www.googleapis.com
> GData-Version: 2
> Content-Type: application/json
> Accept-Encoding: gzip, deflate
> User-Agent: libgdata/0.17.0 - gzip
> Connection: Keep-Alive
> 
> {"title":"My list of things","kind":"tasks#taskList"}
  
< HTTP/1.1 401 Unauthorized
< Soup-Debug-Timestamp: 1411316511
< Soup-Debug: SoupMessage 1 (0xda1190)
< WWW-Authenticate: Bearer realm="https://accounts.google.com/AuthSubRequest"
< Content-Type: application/json; charset=UTF-8
< Content-Encoding: gzip
< Date: Sun, 21 Sep 2014 16:21:51 GMT
< Expires: Sun, 21 Sep 2014 16:21:51 GMT
< Cache-Control: private, max-age=0
< X-Content-Type-Options: nosniff
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< Server: GSE
< Alternate-Protocol: 443:quic,p=0.002
< Transfer-Encoding: chunked
< 
< {
<  "error": {
<   "errors": [
<    {
<     "domain": "global",
<     "reason": "required",
<     "message": "Login Required",
<     "locationType": "header",
<     "location": "Authorization"
<    }
<   ],
<   "code": 401,
<   "message": "Login Required"
<  }
< }