summaryrefslogtreecommitdiff
path: root/gdata/tests/traces/contacts/batch
blob: ac8302d00045356e3c92e97052a732eaf9f9acd6 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
> POST /m8/feeds/contacts/default/full/batch HTTP/1.1
> Soup-Debug-Timestamp: 1375362975
> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 1 (0x8a22a0), SoupSocket 1 (0x8f3190)
> Host: www.google.com
> Authorization: GoogleLogin auth=DQAAANYAAACEVu1_bRDNe9RgSD9ZBpOd3wrIlCGMT5j4obkMZr9xzaecCbh7Ad88EHTPx_-XXUENDehvQ4HWMlCeXcfB9dwJ3b18s7PWnls2aHGTGVYopRnLzMKvEdl4E2cyU4OZuMcgVVLVwro91w4JG_RSnZmd8J7IEj83YnoNbBiv4x8yjOcPb5WO3wEoyNzGKwcPvEu9b_NOF7EsbiC0nIOY4Lr4MZCkFzK3iUr1OKGLXZHB2HOFyuJHaMDpIUfubYW4M3w1YlkGBCBCfxr18lGeMluMVL2D9u6rELYQwCWwBkeyeg
> GData-Version: 3
> Content-Type: application/atom+xml
> Accept-Encoding: gzip, deflate
> Connection: Keep-Alive
> 
> <?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:gContact='http://schemas.google.com/contact/2008' xmlns:batch='http://schemas.google.com/gdata/batch' xmlns:gd='http://schemas.google.com/g/2005' xmlns:app='http://www.w3.org/2007/app'><title type='text'>Batch operation feed</title><id>batch1</id><updated>2013-08-01T13:16:15Z</updated><entry><title type='text'>Fooish Bar</title><category term='http://schemas.google.com/contact/2008#contact' scheme='http://schemas.google.com/g/2005#kind'/><batch:id>1</batch:id><batch:operation type='insert'/><gd:name><gd:fullName>Fooish Bar</gd:fullName></gd:name></entry></feed>
  
< HTTP/1.1 200 OK
< Soup-Debug-Timestamp: 1375362975
< Soup-Debug: SoupMessage 1 (0x8a22a0)
< Content-Type: application/atom+xml; charset=UTF-8; type=feed
< GData-Version: 3.1
< Date: Thu, 01 Aug 2013 13:16:15 GMT
< Expires: Thu, 01 Aug 2013 13:16:15 GMT
< Cache-control: private, max-age=0
< X-Content-Type-Options: nosniff
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< Server: GSE
< Transfer-Encoding: chunked
< 
< <?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:gContact='http://schemas.google.com/contact/2008' xmlns:batch='http://schemas.google.com/gdata/batch' xmlns:gd='http://schemas.google.com/g/2005'><id>https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/batch/1375362975314</id><updated>2013-08-01T13:16:15.339Z</updated><title>Batch operation feed</title><entry gd:etag='&quot;RH05eTVSLit7I2A9WhFWE0sITgM.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/77f272e18a99d7b0</id><updated>2013-08-01T13:16:15.321Z</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:16:15.321Z</app:edited><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/contact/2008#contact'/><title>Fooish Bar</title><link rel='http://schemas.google.com/contacts/2008/rel#photo' type='image/*' href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/77f272e18a99d7b0'/><link rel='self' type='application/atom+xml' href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/77f272e18a99d7b0'/><link rel='edit' type='application/atom+xml' href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/77f272e18a99d7b0'/><gd:name><gd:fullName>Fooish Bar</gd:fullName><gd:givenName>Fooish</gd:givenName><gd:familyName>Bar</gd:familyName></gd:name><batch:id>1</batch:id><batch:status code='201' reason='Created'/><batch:operation type='insert'/></entry></feed>
  
> POST /m8/feeds/contacts/default/full/batch HTTP/1.1
> Soup-Debug-Timestamp: 1375362975
> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 2 (0x8a2480), SoupSocket 2 (0x8f3310)
> Host: www.google.com
> Authorization: GoogleLogin auth=DQAAANYAAACEVu1_bRDNe9RgSD9ZBpOd3wrIlCGMT5j4obkMZr9xzaecCbh7Ad88EHTPx_-XXUENDehvQ4HWMlCeXcfB9dwJ3b18s7PWnls2aHGTGVYopRnLzMKvEdl4E2cyU4OZuMcgVVLVwro91w4JG_RSnZmd8J7IEj83YnoNbBiv4x8yjOcPb5WO3wEoyNzGKwcPvEu9b_NOF7EsbiC0nIOY4Lr4MZCkFzK3iUr1OKGLXZHB2HOFyuJHaMDpIUfubYW4M3w1YlkGBCBCfxr18lGeMluMVL2D9u6rELYQwCWwBkeyeg
> GData-Version: 3
> Content-Type: application/atom+xml
> Accept-Encoding: gzip, deflate
> Connection: Keep-Alive
> 
> <?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:gContact='http://schemas.google.com/contact/2008' xmlns:batch='http://schemas.google.com/gdata/batch' xmlns:gd='http://schemas.google.com/g/2005' xmlns:app='http://www.w3.org/2007/app'><title type='text'>Batch operation feed</title><id>batch1</id><updated>2013-08-01T13:16:15Z</updated><entry><title type='text'>Batch operation query</title><id>https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/77f272e18a99d7b0</id><updated>2013-08-01T13:16:15Z</updated><batch:id>2</batch:id><batch:operation type='query'/></entry><entry><title type='text'>Brian</title><category term='http://schemas.google.com/contact/2008#contact' scheme='http://schemas.google.com/g/2005#kind'/><batch:id>1</batch:id><batch:operation type='insert'/><gd:name><gd:fullName>Brian</gd:fullName></gd:name></entry></feed>
  
< HTTP/1.1 200 OK
< Soup-Debug-Timestamp: 1375362975
< Soup-Debug: SoupMessage 2 (0x8a2480)
< Content-Type: application/atom+xml; charset=UTF-8; type=feed
< GData-Version: 3.1
< Date: Thu, 01 Aug 2013 13:16:15 GMT
< Expires: Thu, 01 Aug 2013 13:16:15 GMT
< Cache-control: private, max-age=0
< X-Content-Type-Options: nosniff
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< Server: GSE
< Transfer-Encoding: chunked
< 
< <?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:gContact='http://schemas.google.com/contact/2008' xmlns:batch='http://schemas.google.com/gdata/batch' xmlns:gd='http://schemas.google.com/g/2005'><id>https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/batch/1375362975482</id><updated>2013-08-01T13:16:15.509Z</updated><title>Batch operation feed</title><entry gd:etag='&quot;RHozcDVSLit7I2A9WhFWE0sITgM.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/2e8ff7630eb55498</id><updated>2013-08-01T13:16:15.488Z</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:16:15.488Z</app:edited><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/contact/2008#contact'/><title>Brian</title><link rel='http://schemas.google.com/contacts/2008/rel#photo' type='image/*' href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/2e8ff7630eb55498'/><link rel='self' type='application/atom+xml' href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/2e8ff7630eb55498'/><link rel='edit' type='application/atom+xml' href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/2e8ff7630eb55498'/><gd:name><gd:fullName>Brian</gd:fullName><gd:givenName>Brian</gd:givenName></gd:name><batch:id>1</batch:id><batch:status code='201' reason='Created'/><batch:operation type='insert'/></entry><entry gd:etag='&quot;RH05eTVSLit7I2A9WhFWE0sITgM.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/77f272e18a99d7b0</id><updated>2013-08-01T13:16:15.321Z</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:16:15.321Z</app:edited><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/contact/2008#contact'/><title>Fooish Bar</title><link rel='http://schemas.google.com/contacts/2008/rel#photo' type='image/*' href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/77f272e18a99d7b0'/><link rel='self' type='application/atom+xml' href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/77f272e18a99d7b0'/><link rel='edit' type='application/atom+xml' href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/77f272e18a99d7b0'/><gd:name><gd:fullName>Fooish Bar</gd:fullName><gd:givenName>Fooish</gd:givenName><gd:familyName>Bar</gd:familyName></gd:name><batch:id>2</batch:id><batch:status code='200' reason='Success'/><batch:operation type='query'/></entry></feed>
  
> POST /m8/feeds/contacts/default/full/batch HTTP/1.1
> Soup-Debug-Timestamp: 1375362975
> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 3 (0x8a2480), SoupSocket 3 (0x8f33d0)
> Host: www.google.com
> Authorization: GoogleLogin auth=DQAAANYAAACEVu1_bRDNe9RgSD9ZBpOd3wrIlCGMT5j4obkMZr9xzaecCbh7Ad88EHTPx_-XXUENDehvQ4HWMlCeXcfB9dwJ3b18s7PWnls2aHGTGVYopRnLzMKvEdl4E2cyU4OZuMcgVVLVwro91w4JG_RSnZmd8J7IEj83YnoNbBiv4x8yjOcPb5WO3wEoyNzGKwcPvEu9b_NOF7EsbiC0nIOY4Lr4MZCkFzK3iUr1OKGLXZHB2HOFyuJHaMDpIUfubYW4M3w1YlkGBCBCfxr18lGeMluMVL2D9u6rELYQwCWwBkeyeg
> GData-Version: 3
> Content-Type: application/atom+xml
> Accept-Encoding: gzip, deflate
> Connection: Keep-Alive
> 
> <?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:gContact='http://schemas.google.com/contact/2008' xmlns:batch='http://schemas.google.com/gdata/batch' xmlns:gd='http://schemas.google.com/g/2005' xmlns:app='http://www.w3.org/2007/app'><title type='text'>Batch operation feed</title><id>batch1</id><updated>2013-08-01T13:16:15Z</updated><entry gd:etag='&quot;RHozcDVSLit7I2A9WhFWE0sITgM.&quot;'><title type='text'>Toby</title><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/2e8ff7630eb55498</id><updated>2013-08-01T13:16:15Z</updated><category term='http://schemas.google.com/contact/2008#contact' scheme='http://schemas.google.com/g/2005#kind'/><link href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/2e8ff7630eb55498' rel='http://schemas.google.com/contacts/2008/rel#photo' type='image/*'/><link href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/2e8ff7630eb55498' rel='http://www.iana.org/assignments/relation/self' type='application/atom+xml'/><link href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/2e8ff7630eb55498' rel='http://www.iana.org/assignments/relation/edit' type='application/atom+xml'/><batch:id>3</batch:id><batch:operation type='update'/><gd:name><gd:givenName>Brian</gd:givenName><gd:fullName>Toby</gd:fullName></gd:name></entry><entry><title type='text'></title><id>foobar</id><category term='http://schemas.google.com/contact/2008#contact' scheme='http://schemas.google.com/g/2005#kind'/><batch:id>2</batch:id><batch:operation type='delete'/><gd:name/></entry><entry gd:etag='&quot;RH05eTVSLit7I2A9WhFWE0sITgM.&quot;'><title type='text'>Fooish Bar</title><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/77f272e18a99d7b0</id><updated>2013-08-01T13:16:15Z</updated><category term='http://schemas.google.com/contact/2008#contact' scheme='http://schemas.google.com/g/2005#kind'/><link href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/77f272e18a99d7b0' rel='http://schemas.google.com/contacts/2008/rel#photo' type='image/*'/><link href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/77f272e18a99d7b0' rel='http://www.iana.org/assignments/relation/self' type='application/atom+xml'/><link href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/77f272e18a99d7b0' rel='http://www.iana.org/assignments/relation/edit' type='application/atom+xml'/><batch:id>1</batch:id><batch:operation type='delete'/><gd:name><gd:givenName>Fooish</gd:givenName><gd:familyName>Bar</gd:familyName><gd:fullName>Fooish Bar</gd:fullName></gd:name></entry></feed>
  
< HTTP/1.1 200 OK
< Soup-Debug-Timestamp: 1375362976
< Soup-Debug: SoupMessage 3 (0x8a2480)
< Content-Type: application/atom+xml; charset=UTF-8; type=feed
< GData-Version: 3.1
< Date: Thu, 01 Aug 2013 13:16:16 GMT
< Expires: Thu, 01 Aug 2013 13:16:16 GMT
< Cache-control: private, max-age=0
< X-Content-Type-Options: nosniff
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< Server: GSE
< Transfer-Encoding: chunked
< 
< <?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:gContact='http://schemas.google.com/contact/2008' xmlns:batch='http://schemas.google.com/gdata/batch' xmlns:gd='http://schemas.google.com/g/2005'><id>https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/batch/1375362975747</id><updated>2013-08-01T13:16:15.748Z</updated><title>Batch operation feed</title><entry><id>foobar</id><updated>2013-08-01T13:16:15.748Z</updated><title>Error</title><content>Invalid entry Id/Uri</content><batch:id>2</batch:id><batch:status code='400' reason='Invalid entry Id/Uri'/><batch:operation type='delete'/></entry><entry><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/77f272e18a99d7b0</id><updated>2013-08-01T13:16:16.103Z</updated><title>Fooish Bar</title><content>Deleted</content><batch:id>1</batch:id><batch:status code='200' reason='Success'/><batch:operation type='delete'/></entry><entry gd:etag='&quot;R386fDVSLit7I2A9WhFWE0sITgM.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/2e8ff7630eb55498</id><updated>2013-08-01T13:16:16.114Z</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:16:16.114Z</app:edited><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/contact/2008#contact'/><title>Toby</title><link rel='http://schemas.google.com/contacts/2008/rel#photo' type='image/*' href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/2e8ff7630eb55498'/><link rel='self' type='application/atom+xml' href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/2e8ff7630eb55498'/><link rel='edit' type='application/atom+xml' href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/2e8ff7630eb55498'/><gd:name><gd:fullName>Toby</gd:fullName><gd:givenName>Brian</gd:givenName></gd:name><batch:id>3</batch:id><batch:status code='200' reason='Success'/><batch:operation type='update'/></entry></feed>