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..a8a70d2a
--- /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: 1373312490
+> Soup-Debug: SoupSession 1 (0x66d2c0), SoupMessage 1 (0x992460), SoupSocket 1 (0x8f2250)
+> Host: www.google.com
+> Authorization: GoogleLogin auth=DQAAAM4AAABKUrSFzs8R87l64lxNJ2sdklhR-Xok8Cd28d10ttViz3pkeSosVgf5IXErmDHQMM9qajB6ZiW2R88u_SpE3SfL5uy_oNPB5Mlmte4X-TOdOSUGjIGRr6cv7JClAOlVBIxmkZVSWC_cCUFKRIuZ9VBkSIKSD9kCHJEBwWlhgcZsHSNAVuv9pIagsMR06K24PtAIO_VIRitw2VisJNxl3kqjDzobMqoyQypuTBXft5oOD2vHaJWkSI5JH5JM6zBxNnxLOUPt7oqUbLeJP8xe6FsF
+> 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: 1373312490
+< Soup-Debug: SoupMessage 1 (0x992460)
+< Content-Type: application/atom+xml; charset=UTF-8; type=entry
+< Expires: Mon, 08 Jul 2013 19:41:30 GMT
+< Date: Mon, 08 Jul 2013 19:41:30 GMT
+< Cache-control: private, max-age=0, must-revalidate, no-transform
+< Vary: Accept, X-GData-Authorization, GData-Version
+< GData-Version: 3.1
+< ETag: "QXY-fDVSLyt7I2A9WhFQE0wIQw0."
+< Location: https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/2fe60f6f8bc0d692
+< Content-Location: https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/2fe60f6f8bc0d692
+< 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;QXY-fDVSLyt7I2A9WhFQE0wIQw0.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/2fe60f6f8bc0d692</id><updated>2013-07-08T19:41:30.854Z</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2013-07-08T19:41:30.854Z</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/2fe60f6f8bc0d692'/><link rel='self' type='application/atom+xml' href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/2fe60f6f8bc0d692'/><link rel='edit' type='application/atom+xml' href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/2fe60f6f8bc0d692'/><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>
+