summaryrefslogtreecommitdiff
path: root/gdata/tests/traces/contacts/contact-insert
diff options
context:
space:
mode:
Diffstat (limited to 'gdata/tests/traces/contacts/contact-insert')
-rw-r--r--gdata/tests/traces/contacts/contact-insert32
1 files changed, 32 insertions, 0 deletions
diff --git a/gdata/tests/traces/contacts/contact-insert b/gdata/tests/traces/contacts/contact-insert
new file mode 100644
index 00000000..7446f873
--- /dev/null
+++ b/gdata/tests/traces/contacts/contact-insert
@@ -0,0 +1,32 @@
+> POST /m8/feeds/contacts/default/full HTTP/1.1
+> Soup-Debug-Timestamp: 1375253708
+> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 1 (0x7d2c80), SoupSocket 1 (0x72a250)
+> Host: www.google.com
+> Authorization: GoogleLogin auth=DQAAANUAAAAXK6VbKHFb8MrY8VDDk8TplfYU8Pl8OJ_JDJA5Ku7Q1SXgGXmiXXNSumd183YRnbThEZBRN5nYygedI2kQsVKzOFACPFEPo7ShQaRGycnxE3GLDfmMWN_zc43HzWPka0-WgOvpmqpxLFWh0EYyD3pF7Yebk_jLBxJEBWU9v8FZrljhbtK-g4kiiBeuNs4kYYLTu-vF7GCSIcSC2WuHSkxI091viwmbQhZY_6fi_MaY_qgOPss9HlAHeJ543JSjtRmsVtK_4aNWbmaz9VcCr9lXEksu1dUTvroRvtlr8XyvOg
+> GData-Version: 3
+> Content-Type: application/atom+xml
+> Accept-Encoding: gzip, deflate
+> Connection: Keep-Alive
+>
+> <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' xmlns:gContact='http://schemas.google.com/contact/2008' xmlns:gd='http://schemas.google.com/g/2005' xmlns:app='http://www.w3.org/2007/app'><title type='text'>John Smith</title><content type='text'>Notes</content><category term='http://schemas.google.com/contact/2008#contact' scheme='http://schemas.google.com/g/2005#kind'/><gd:name><gd:givenName>John</gd:givenName><gd:familyName>Smith</gd:familyName><gd:fullName>John Smith</gd:fullName></gd:name><gd:email address='liz@gmail.com' rel='http://schemas.google.com/g/2005#work' primary='false'/><gd:email address='liz@example.org' rel='http://schemas.google.com/g/2005#home' primary='false'/><gd:im address='liz@gmail.com' protocol='http://schemas.google.com/g/2005#GOOGLE_TALK' rel='http://schemas.google.com/g/2005#home' primary='false'/><gd:phoneNumber rel='http://schemas.google.com/g/2005#work' primary='true'>(206)555-1212</gd:phoneNumber><gd:phoneNumber rel='http://schemas.google.com/g/2005#home' primary='false'>(206)555-1213</gd:phoneNumber><gd:structuredPostalAddress rel='http://schemas.google.com/g/2005#work' primary='true'><gd:street>1600 Amphitheatre Pkwy Mountain View</gd:street></gd:structuredPostalAddress><gd:organization rel='http://schemas.google.com/g/2005#work' primary='false'><gd:orgName>OrgCorp</gd:orgName><gd:orgTitle>President</gd:orgTitle></gd:organization><gContact:jot rel='other'>This is a jot.</gContact:jot><gContact:relation rel='friend'>Brian Haddock</gContact:relation><gContact:website href='http://example.com/' rel='profile' primary='true'/><gContact:event rel='anniversary'><gd:when startTime='1900-01-01'/></gContact:event><gContact:calendarLink href='http://calendar.example.com/' rel='home' primary='true'/><gContact:externalId value='Number Six' rel='organization'/><gContact:language code='en-GB'/><gd:extendedProperty name='CALURI'>http://example.com/</gd:extendedProperty><gContact:userDefinedField key='Favourite colour' value='Blue'/><gContact:userDefinedField key='My notes' value=''/><gContact:userDefinedField key='Owes me' value='£10'/><gContact:userDefinedField key='' value='Foo'/><gContact:hobby>Rowing</gContact:hobby><gContact:nickname>Big J</gContact:nickname><gContact:fileAs>J, Big</gContact:fileAs><gContact:birthday when='--01-01'/><gContact:billingInformation>Big J Enterprises, Ltd.</gContact:billingInformation><gContact:directoryServer>This is a server</gContact:directoryServer><gContact:gender value='male'/><gContact:initials>A. B. C.</gContact:initials><gContact:maidenName>Smith</gContact:maidenName><gContact:mileage>12km</gContact:mileage><gContact:occupation>Professional bum</gContact:occupation><gContact:priority rel='high'/><gContact:sensitivity rel='personal'/><gContact:shortName>Jon</gContact:shortName><gContact:subject>Charity work</gContact:subject></entry>
+
+< HTTP/1.1 201 Created
+< Soup-Debug-Timestamp: 1375253709
+< Soup-Debug: SoupMessage 1 (0x7d2c80)
+< Content-Type: application/atom+xml; charset=UTF-8; type=entry
+< Expires: Wed, 31 Jul 2013 06:55:09 GMT
+< Date: Wed, 31 Jul 2013 06:55:09 GMT
+< Cache-control: private, max-age=0, must-revalidate, no-transform
+< Vary: Accept, X-GData-Authorization, GData-Version
+< GData-Version: 3.1
+< ETag: "SXcyfTVSLit7I2A9WhFWEkgJQAQ."
+< Location: https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/669aee080ec47f33
+< Content-Location: https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/669aee080ec47f33
+< 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'?><entry 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' gd:etag='&quot;SXcyfTVSLit7I2A9WhFWEkgJQAQ.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/669aee080ec47f33</id><updated>2013-07-31T06:55:08.995Z</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2013-07-31T06:55:08.995Z</app:edited><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/contact/2008#contact'/><title>John Smith</title><content>Notes</content><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/669aee080ec47f33'/><link rel='self' type='application/atom+xml' href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/669aee080ec47f33'/><link rel='edit' type='application/atom+xml' href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/669aee080ec47f33'/><gd:name><gd:fullName>John Smith</gd:fullName><gd:givenName>John</gd:givenName><gd:familyName>Smith</gd:familyName></gd:name><gContact:nickname>Big J</gContact:nickname><gContact:maidenName>Smith</gContact:maidenName><gContact:shortName>Jon</gContact:shortName><gContact:initials>A. B. C.</gContact:initials><gContact:gender value='male'/><gContact:birthday when='--01-01'/><gContact:occupation>Professional bum</gContact:occupation><gContact:sensitivity rel='personal'/><gContact:billingInformation>Big J Enterprises, Ltd.</gContact:billingInformation><gContact:priority rel='high'/><gContact:mileage>12km</gContact:mileage><gContact:directoryServer>This is a server</gContact:directoryServer><gContact:subject>Charity work</gContact:subject><gContact:fileAs>J, Big</gContact:fileAs><gd:organization rel='http://schemas.google.com/g/2005#work'><gd:orgName>OrgCorp</gd:orgName><gd:orgTitle>President</gd:orgTitle></gd:organization><gd:email rel='http://schemas.google.com/g/2005#work' address='liz@gmail.com'/><gd:email rel='http://schemas.google.com/g/2005#home' address='liz@example.org'/><gd:im address='liz@gmail.com' protocol='http://schemas.google.com/g/2005#GOOGLE_TALK' rel='http://schemas.google.com/g/2005#home'/><gd:phoneNumber rel='http://schemas.google.com/g/2005#work' primary='true'>(206)555-1212</gd:phoneNumber><gd:phoneNumber rel='http://schemas.google.com/g/2005#home'>(206)555-1213</gd:phoneNumber><gd:structuredPostalAddress primary='true' rel='http://schemas.google.com/g/2005#work'><gd:formattedAddress>1600 Amphitheatre Pkwy Mountain View</gd:formattedAddress><gd:street>1600 Amphitheatre Pkwy Mountain View</gd:street></gd:structuredPostalAddress><gContact:event rel='anniversary'><gd:when startTime='1900-01-01'/></gContact:event><gContact:externalId rel='organization' value='Number Six'/><gContact:relation rel='friend'>Brian Haddock</gContact:relation><gContact:userDefinedField key='Favourite colour' value='Blue'/><gContact:userDefinedField key='My notes' value=''/><gContact:userDefinedField key='Owes me' value='£10'/><gContact:userDefinedField key='' value='Foo'/><gContact:website href='http://example.com/' primary='true' rel='profile'/><gContact:calendarLink href='http://calendar.example.com/' primary='true' rel='home'/><gContact:language code='en-GB'/><gContact:jot rel='other'>This is a jot.</gContact:jot><gContact:hobby>Rowing</gContact:hobby><gd:extendedProperty name='CALURI'>http://example.com/</gd:extendedProperty></entry>
+