[libgdata] tests: Update Contacts test traces for ISO 8601 date changes



commit b706cf271ba634b721e51a814e950bcfd620c139
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sun Nov 9 22:04:45 2014 +0000

    tests: Update Contacts test traces for ISO 8601 date changes
    
    https://bugzilla.gnome.org/show_bug.cgi?id=737799

 gdata/tests/contacts.c                             |  125 ++++++--
 gdata/tests/traces/contacts/authentication         |   38 ++-
 gdata/tests/traces/contacts/batch                  |  230 ++++++++++--
 gdata/tests/traces/contacts/batch-async            |   53 +++-
 gdata/tests/traces/contacts/contact-insert         |   88 ++++-
 gdata/tests/traces/contacts/contact-update         |   63 +++-
 gdata/tests/traces/contacts/global-authentication  |   38 ++-
 gdata/tests/traces/contacts/group-insert           |   43 ++-
 gdata/tests/traces/contacts/group_insert-async     |   43 ++-
 .../contacts/group_insert-async-cancellation       |   43 ++-
 gdata/tests/traces/contacts/photo-add              |   23 +-
 gdata/tests/traces/contacts/photo-delete           |   22 +-
 gdata/tests/traces/contacts/photo-get              |   22 +-
 gdata/tests/traces/contacts/photo_add-async        |   23 +-
 .../traces/contacts/photo_add-async-cancellation   |   25 +-
 gdata/tests/traces/contacts/photo_delete-async     |   22 +-
 gdata/tests/traces/contacts/photo_get-async        |   22 +-
 .../traces/contacts/photo_get-async-cancellation   |   22 +-
 gdata/tests/traces/contacts/query-all-contacts     |  373 +++++++++++++++++++-
 .../query-all-contacts-async-progress-closure      |  373 +++++++++++++++++++-
 gdata/tests/traces/contacts/query-all-groups       |  166 ++++++++-
 .../query-all-groups-async-progress-closure        |  166 ++++++++-
 .../tests/traces/contacts/query_all_contacts-async |  373 +++++++++++++++++++-
 .../contacts/query_all_contacts-async-cancellation |  373 +++++++++++++++++++-
 gdata/tests/traces/contacts/query_all_groups-async |  166 ++++++++-
 .../contacts/query_all_groups-async-cancellation   |  166 ++++++++-
 gdata/tests/traces/contacts/setup-batch-async      |   47 ++-
 .../tests/traces/contacts/setup-query-all-contacts |  129 +++++---
 gdata/tests/traces/contacts/setup-query-all-groups |  126 +++++---
 gdata/tests/traces/contacts/setup-temp-contact     |   43 ++-
 .../traces/contacts/setup-temp-contact-with-photo  |   69 +++--
 gdata/tests/traces/contacts/teardown-batch-async   |   29 +-
 gdata/tests/traces/contacts/teardown-insert        |   29 +-
 gdata/tests/traces/contacts/teardown-insert-group  |   29 +-
 .../traces/contacts/teardown-query-all-contacts    |   87 +++--
 .../traces/contacts/teardown-query-all-groups      |   87 +++--
 gdata/tests/traces/contacts/teardown-temp-contact  |   73 +++--
 37 files changed, 3197 insertions(+), 652 deletions(-)
---
diff --git a/gdata/tests/contacts.c b/gdata/tests/contacts.c
index 29ac9bc..6915d93 100644
--- a/gdata/tests/contacts.c
+++ b/gdata/tests/contacts.c
@@ -23,9 +23,16 @@
 
 #include "gdata.h"
 #include "common.h"
+#include "gdata-dummy-authorizer.h"
 
 static UhmServer *mock_server = NULL;
 
+#undef CLIENT_ID  /* from common.h */
+
+#define CLIENT_ID "352818697630-nqu2cmt5quqd6lr17ouoqmb684u84l1f.apps.googleusercontent.com"
+#define CLIENT_SECRET "-fA4pHQJxR3zJ-FyAMPQsikg"
+#define REDIRECT_URI "urn:ietf:wg:oauth:2.0:oob"
+
 typedef struct {
        GDataContactsContact *contact;
 } TempContactData;
@@ -85,30 +92,43 @@ GDATA_ASYNC_CLOSURE_FUNCTIONS (temp_contact, TempContactData);
 static void
 test_authentication (void)
 {
-       gboolean retval;
-       GDataClientLoginAuthorizer *authorizer;
-       GError *error = NULL;
+       GDataOAuth2Authorizer *authorizer = NULL;  /* owned */
+       gchar *authentication_uri, *authorisation_code;
 
        gdata_test_mock_server_start_trace (mock_server, "authentication");
 
-       /* Create an authorizer */
-       authorizer = gdata_client_login_authorizer_new (CLIENT_ID, GDATA_TYPE_CONTACTS_SERVICE);
+       authorizer = gdata_oauth2_authorizer_new (CLIENT_ID, CLIENT_SECRET,
+                                                 REDIRECT_URI,
+                                                 GDATA_TYPE_CONTACTS_SERVICE);
 
-       g_assert_cmpstr (gdata_client_login_authorizer_get_client_id (authorizer), ==, CLIENT_ID);
+       /* Get an authentication URI. */
+       authentication_uri = gdata_oauth2_authorizer_build_authentication_uri (authorizer, NULL, FALSE);
+       g_assert (authentication_uri != NULL);
 
-       /* Log in */
-       retval = gdata_client_login_authorizer_authenticate (authorizer, USERNAME, PASSWORD, NULL, &error);
-       g_assert_no_error (error);
-       g_assert (retval == TRUE);
-       g_clear_error (&error);
+       /* Get the authorisation code off the user. */
+       if (uhm_server_get_enable_online (mock_server)) {
+               authorisation_code = gdata_test_query_user_for_verifier (authentication_uri);
+       } else {
+               /* Hard coded, extracted from the trace file. */
+               authorisation_code = g_strdup 
("4/OEX-S1iMbOA_dOnNgUlSYmGWh3TK.QrR73axcNMkWoiIBeO6P2m_su7cwkQI");
+       }
 
-       /* Check all is as it should be */
-       g_assert_cmpstr (gdata_client_login_authorizer_get_username (authorizer), ==, USERNAME);
-       g_assert_cmpstr (gdata_client_login_authorizer_get_password (authorizer), ==, PASSWORD);
+       g_free (authentication_uri);
 
+       if (authorisation_code == NULL) {
+               /* Skip tests. */
+               goto skip_test;
+       }
+
+       /* Authorise the token */
+       g_assert (gdata_oauth2_authorizer_request_authorization (authorizer, authorisation_code, NULL, NULL) 
== TRUE);
+
+       /* Check all is as it should be */
        g_assert (gdata_authorizer_is_authorized_for_domain (GDATA_AUTHORIZER (authorizer),
                                                             
gdata_contacts_service_get_primary_authorization_domain ()) == TRUE);
 
+skip_test:
+       g_free (authorisation_code);
        g_object_unref (authorizer);
 
        uhm_server_end_trace (mock_server);
@@ -2506,30 +2526,85 @@ mock_server_notify_resolver_cb (GObject *object, GParamSpec *pspec, gpointer use
                const gchar *ip_address = uhm_server_get_address (server);
 
                uhm_resolver_add_A (resolver, "www.google.com", ip_address);
+               uhm_resolver_add_A (resolver,
+                                   "accounts.google.com", ip_address);
        }
 }
 
+/* Set up a global GDataAuthorizer to be used for all the tests. Unfortunately,
+ * the Google Contacts API is effectively limited to OAuth1 and OAuth2
+ * authorisation, so this requires user interaction when online.
+ *
+ * If not online, use a dummy authoriser. */
+static GDataAuthorizer *
+create_global_authorizer (void)
+{
+       GDataOAuth2Authorizer *authorizer = NULL;  /* owned */
+       gchar *authentication_uri, *authorisation_code;
+       GError *error = NULL;
+
+       /* If not online, just return a dummy authoriser. */
+       if (!uhm_server_get_enable_online (mock_server)) {
+               return GDATA_AUTHORIZER (gdata_dummy_authorizer_new (GDATA_TYPE_CONTACTS_SERVICE));
+       }
+
+       /* Otherwise, go through the interactive OAuth dance. */
+       gdata_test_mock_server_start_trace (mock_server, "global-authentication");
+       authorizer = gdata_oauth2_authorizer_new (CLIENT_ID, CLIENT_SECRET,
+                                                 REDIRECT_URI,
+                                                 GDATA_TYPE_CONTACTS_SERVICE);
+
+       /* Get an authentication URI */
+       authentication_uri = gdata_oauth2_authorizer_build_authentication_uri (authorizer, NULL, FALSE);
+       g_assert (authentication_uri != NULL);
+
+       /* Get the authorisation code off the user. */
+       if (uhm_server_get_enable_online (mock_server)) {
+               authorisation_code = gdata_test_query_user_for_verifier (authentication_uri);
+       } else {
+               /* Hard coded, extracted from the trace file. */
+               authorisation_code = g_strdup 
("4/hmXZtrXmXMqK1hwiWPZs9F_N6DK-.Ap4OICAUIe0WoiIBeO6P2m8IDoMxkQI");
+       }
+
+       g_free (authentication_uri);
+
+       if (authorisation_code == NULL) {
+               /* Skip tests. */
+               g_object_unref (authorizer);
+               authorizer = NULL;
+               goto skip_test;
+       }
+
+       /* Authorise the token */
+       g_assert (gdata_oauth2_authorizer_request_authorization (authorizer, authorisation_code, NULL, 
&error));
+       g_assert_no_error (error);
+
+skip_test:
+       g_free (authorisation_code);
+
+       uhm_server_end_trace (mock_server);
+
+       return GDATA_AUTHORIZER (authorizer);
+}
+
 int
 main (int argc, char *argv[])
 {
        gint retval;
-       GDataAuthorizer *authorizer = NULL;
-       GDataService *service = NULL;
-       GFile *trace_directory;
+       GDataAuthorizer *authorizer = NULL;  /* owned */
+       GDataService *service = NULL;  /* owned */
+       GFile *trace_directory = NULL;  /* owned */
 
        gdata_test_init (argc, argv);
 
        mock_server = gdata_test_get_mock_server ();
-       g_signal_connect (G_OBJECT (mock_server), "notify::resolver", (GCallback) 
mock_server_notify_resolver_cb, NULL);
+       g_signal_connect (G_OBJECT (mock_server), "notify::resolver",
+                         (GCallback) mock_server_notify_resolver_cb, NULL);
        trace_directory = g_file_new_for_path (TEST_FILE_DIR "traces/contacts");
        uhm_server_set_trace_directory (mock_server, trace_directory);
        g_object_unref (trace_directory);
 
-       gdata_test_mock_server_start_trace (mock_server, "global-authentication");
-       authorizer = GDATA_AUTHORIZER (gdata_client_login_authorizer_new (CLIENT_ID, 
GDATA_TYPE_CONTACTS_SERVICE));
-       gdata_client_login_authorizer_authenticate (GDATA_CLIENT_LOGIN_AUTHORIZER (authorizer), USERNAME, 
PASSWORD, NULL, NULL);
-       uhm_server_end_trace (mock_server);
-
+       authorizer = create_global_authorizer ();
        service = GDATA_SERVICE (gdata_contacts_service_new (authorizer));
 
        g_test_add_func ("/contacts/authentication", test_authentication);
@@ -2608,8 +2683,8 @@ main (int argc, char *argv[])
 
        retval = g_test_run ();
 
-       if (service != NULL)
-               g_object_unref (service);
+       g_clear_object (&service);
+       g_clear_object (&authorizer);
 
        return retval;
 }
diff --git a/gdata/tests/traces/contacts/authentication b/gdata/tests/traces/contacts/authentication
index 1d67fad..8698d6b 100644
--- a/gdata/tests/traces/contacts/authentication
+++ b/gdata/tests/traces/contacts/authentication
@@ -1,27 +1,35 @@
-> POST /accounts/ClientLogin HTTP/1.1
-> Soup-Debug-Timestamp: 1375253707
-> Soup-Debug: SoupSession 1 (0x66f3f0), SoupMessage 1 (0x7d2aa0), SoupSocket 1 (0x72a190)
-> Host: www.google.com
+> POST /o/oauth2/token HTTP/1.1
+> Soup-Debug-Timestamp: 1415489529
+> Soup-Debug: SoupSession 1 (0x15cd370), SoupMessage 1 (0x182f190), SoupSocket 1 (0x18d5b40)
+> Host: accounts.google.com
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive

-> 
accountType=HOSTED%5FOR%5FGOOGLE&Email=libgdata%2Etest%40gmail%2Ecom&Passwd=gdata%2Dgdata&service=cp&source=ytapi%2DGNOME%2Dlibgdata%2D444fubtt%2D0
+> 
client_id=352818697630-nqu2cmt5quqd6lr17ouoqmb684u84l1f.apps.googleusercontent.com&client_secret=-fA4pHQJxR3zJ-FyAMPQsikg&code=4%2FNua_ECWUtlC6qom7GcJTbcUM_EJPADvfiYd6rsaI2_I.8oJr4XcE9XsaoiIBeO6P2m_S24MjkwI&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&grant_type=authorization_code
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375253707
-< Soup-Debug: SoupMessage 1 (0x7d2aa0)
-< Content-Type: text/plain
-< Cache-control: no-cache, no-store
+< Soup-Debug-Timestamp: 1415489529
+< Soup-Debug: SoupMessage 1 (0x182f190)
+< Content-Type: application/json; charset=utf-8
+< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
 < Pragma: no-cache
-< Expires: Mon, 01-Jan-1990 00:00:00 GMT
-< Date: Wed, 31 Jul 2013 06:55:07 GMT
+< Expires: Fri, 01 Jan 1990 00:00:00 GMT
+< Date: Sat, 08 Nov 2014 23:32:09 GMT
+< Content-Disposition: attachment; filename="json.txt"; filename*=UTF-8''json.txt
+< Content-Encoding: gzip
 < X-Content-Type-Options: nosniff
+< X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
-< Content-Length: 947
 < Server: GSE
+< Alternate-Protocol: 443:quic,p=0.01
+< Transfer-Encoding: chunked
 < 
-< 
SID=DQAAANMAAABLVNYA7llnN5GVblNPXi5xnUpfn_1Nt5rUGq5fgJHP3lGFHSyWeFu8iaAhhTy_IkFR4abU1u0PItdmErKC7BAb4yEUNfBsE_DAJW3QiSX9gsUN9Upn3OGfkWWE9rtc3SuMRRUtVa5uIrI3LFeFpTj-mDugsJ6eLNSXuBX_I2ZXut0cc2cye4-y6sIqgEa6bBitbGbEPUUWUaXzXJUu19achuiThwDIztR8au8tSMH6vOxDEpwiFwKoH6MmUj7uyFf1Vfe-CEQlBTjg4gjDCWGlgGudKAQC-7tnHa8Mpi4A3g
-< 
LSID=DQAAANUAAAANiE0kPwbpbCxKR_R7h-ekhx_I6BM74CA7iCX0q8ILYiIGXDhjanJyMF8-YSr48czMnizyxddpEDZQL5v8W6CaLltlzVYSdSEegJ_p9G0_n6dfhQjgn-2d0prbi6g9_KoLs71vaMnTXGma8Honl3n1_cfdI7asujoOns4QUbs4vhk_n9Ag9wJzNjHW5h7dNerxKH4uzqeOMRifAefv3_ZWNhUdytaF-gx-nTcigWqNiGwTMNT1EnzobE5VzZeHoEAFApRxgK3u-M6QRy9GunbTpPuAqTSivnjFIOCSSV_KrA
-< 
Auth=DQAAANYAAAANiE0kPwbpbCxKR_R7h-ekhx_I6BM74CA7iCX0q8ILYiIGXDhjanJyMF8-YSr48cy3WO11uK-_KLeoeuvXODGKn-9bqQT-KaNXSV63Iojd-SXaAiAhSaxuNwEGXj5Z7KO_QAebRcA_bmVZzZGO0vjwhBGmnYrukoKPnlexCe2AZeuEyqR-ZY-Hl1JHY3iQ30RK70nlQOM__saeNQYzVz3WoQ35SzAFKQT1edoPh8nL3buIc7jlQGGeNIgn-uV1NTnwMglaxeuT-e67DkK9sDHf-p6UyUYO6xlcyoHTL25Nxw
+< {
+<   "access_token" : "ya29.uADGgjhB_J0BE91XytCcfZvo9_mpuMXuvZIgekCmnwsm7ibh5nDoFrZg5fsyc8dCR_xSYxaoaD061w",
+<   "token_type" : "Bearer",
+<   "expires_in" : 3600,
+<   "refresh_token" : "1/oPu3xJaZU1U8fZhL9K6ZgvkoisVntA66PE7OuRs3pok"
+< }
   
diff --git a/gdata/tests/traces/contacts/batch b/gdata/tests/traces/contacts/batch
index ac8302d..1014d9e 100644
--- a/gdata/tests/traces/contacts/batch
+++ b/gdata/tests/traces/contacts/batch
@@ -1,84 +1,242 @@
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)
+> Soup-Debug-Timestamp: 1415490455
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 1 (0x1ce91c0), SoupSocket 1 (0x1e32c40)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANYAAACEVu1_bRDNe9RgSD9ZBpOd3wrIlCGMT5j4obkMZr9xzaecCbh7Ad88EHTPx_-XXUENDehvQ4HWMlCeXcfB9dwJ3b18s7PWnls2aHGTGVYopRnLzMKvEdl4E2cyU4OZuMcgVVLVwro91w4JG_RSnZmd8J7IEj83YnoNbBiv4x8yjOcPb5WO3wEoyNzGKwcPvEu9b_NOF7EsbiC0nIOY4Lr4MZCkFzK3iUr1OKGLXZHB2HOFyuJHaMDpIUfubYW4M3w1YlkGBCBCfxr18lGeMluMVL2D9u6rELYQwCWwBkeyeg
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
Content-Type: application/atom+xml
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
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>
+> <?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>2014-11-08T23:47:35Z</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
+< Soup-Debug-Timestamp: 1415490455
+< Soup-Debug: SoupMessage 1 (0x1ce91c0)
+< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
+< Pragma: no-cache
+< Expires: Fri, 01 Jan 1990 00:00:00 GMT
+< Date: Sat, 08 Nov 2014 23:47:35 GMT
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <feed xmlns="http://www.w3.org/2005/Atom"; xmlns:batch="http://schemas.google.com/gdata/batch"; 
xmlns:gContact="http://schemas.google.com/contact/2008"; xmlns:gd="http://schemas.google.com/g/2005";>
+<  
<id>https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/batch/1415490455683000</id>
+<  <updated>2014-11-08T23:47:35.683Z</updated>
+<  <title type="text">Batch operation feed</title>
+<  <entry gd:etag="&quot;RHs-fzVSLit7I2A9XRdWFEQKQwE.&quot;">
+<   <batch:id>1</batch:id>
+<   <batch:operation type="insert"/>
+<   <batch:status code="201" reason="Created."/>
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/124aa0c708271161</id>
+<   <updated>2014-11-08T23:47:35.557Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:47:35.557Z</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/124aa0c708271161"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/124aa0c708271161"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/124aa0c708271161"/>
+<   <gd:name>
+<    <gd:fullName>Fooish Bar</gd:fullName>
+<    <gd:givenName>Fooish</gd:givenName>
+<    <gd:familyName>Bar</gd:familyName>
+<   </gd:name>
+<  </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)
+> Soup-Debug-Timestamp: 1415490455
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 2 (0x1ce92b0), SoupSocket 2 (0x1e32b70)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANYAAACEVu1_bRDNe9RgSD9ZBpOd3wrIlCGMT5j4obkMZr9xzaecCbh7Ad88EHTPx_-XXUENDehvQ4HWMlCeXcfB9dwJ3b18s7PWnls2aHGTGVYopRnLzMKvEdl4E2cyU4OZuMcgVVLVwro91w4JG_RSnZmd8J7IEj83YnoNbBiv4x8yjOcPb5WO3wEoyNzGKwcPvEu9b_NOF7EsbiC0nIOY4Lr4MZCkFzK3iUr1OKGLXZHB2HOFyuJHaMDpIUfubYW4M3w1YlkGBCBCfxr18lGeMluMVL2D9u6rELYQwCWwBkeyeg
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
Content-Type: application/atom+xml
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
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>
+> <?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>2014-11-08T23:47:35Z</updated><entry><title type='text'>Batch 
operation 
query</title><id>https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/124aa0c708271161</id><updated>2014-11-08T23:47:35Z</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
+< Soup-Debug-Timestamp: 1415490456
+< Soup-Debug: SoupMessage 2 (0x1ce92b0)
+< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
+< Pragma: no-cache
+< Expires: Fri, 01 Jan 1990 00:00:00 GMT
+< Date: Sat, 08 Nov 2014 23:47:36 GMT
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <feed xmlns="http://www.w3.org/2005/Atom"; xmlns:batch="http://schemas.google.com/gdata/batch"; 
xmlns:gContact="http://schemas.google.com/contact/2008"; xmlns:gd="http://schemas.google.com/g/2005";>
+<  
<id>https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/batch/1415490456062000</id>
+<  <updated>2014-11-08T23:47:36.062Z</updated>
+<  <title type="text">Batch operation feed</title>
+<  <entry gd:etag="&quot;RHs-fzVSLit7I2A9XRdWFEQKQwE.&quot;">
+<   <batch:id>2</batch:id>
+<   <batch:operation type="query"/>
+<   <batch:status code="200" reason="Success"/>
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/124aa0c708271161</id>
+<   <updated>2014-11-08T23:47:35.557Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:47:35.557Z</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/124aa0c708271161"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/124aa0c708271161"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/124aa0c708271161"/>
+<   <gd:name>
+<    <gd:fullName>Fooish Bar</gd:fullName>
+<    <gd:givenName>Fooish</gd:givenName>
+<    <gd:familyName>Bar</gd:familyName>
+<   </gd:name>
+<  </entry>
+<  <entry gd:etag="&quot;RHc4cDVSLyt7I2A9XRdWFEQKQwE.&quot;">
+<   <batch:id>1</batch:id>
+<   <batch:operation type="insert"/>
+<   <batch:status code="201" reason="Created."/>
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/703f874088829e7d</id>
+<   <updated>2014-11-08T23:47:35.938Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:47:35.938Z</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/703f874088829e7d"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/703f874088829e7d"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/703f874088829e7d"/>
+<   <gd:name>
+<    <gd:fullName>Brian</gd:fullName>
+<    <gd:givenName>Brian</gd:givenName>
+<   </gd:name>
+<  </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)
+> Soup-Debug-Timestamp: 1415490456
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 3 (0x1ce93a0), SoupSocket 3 (0x1e32d10)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANYAAACEVu1_bRDNe9RgSD9ZBpOd3wrIlCGMT5j4obkMZr9xzaecCbh7Ad88EHTPx_-XXUENDehvQ4HWMlCeXcfB9dwJ3b18s7PWnls2aHGTGVYopRnLzMKvEdl4E2cyU4OZuMcgVVLVwro91w4JG_RSnZmd8J7IEj83YnoNbBiv4x8yjOcPb5WO3wEoyNzGKwcPvEu9b_NOF7EsbiC0nIOY4Lr4MZCkFzK3iUr1OKGLXZHB2HOFyuJHaMDpIUfubYW4M3w1YlkGBCBCfxr18lGeMluMVL2D9u6rELYQwCWwBkeyeg
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
Content-Type: application/atom+xml
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
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/2e8ff76
 30eb55498' 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.c
 om/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>
+> <?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>2014-11-08T23:47:36Z</updated><entry 
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;RHc4cDVSLyt7I2A9XRdWFEQKQwE.&quot;'><title 
type='text'>Toby</title><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/703f874088829e7d</id><updated>2014-11-08T23:47:35Z</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/703f874088829e7d' 
rel='http://sche
 mas.google.com/contacts/2008/rel#photo' type='image/*'/><link 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/703f874088829e7d' 
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/703f874088829e7d' 
rel='http://www.iana.org/assignments/relation/edit' 
type='application/atom+xml'/><batch:id>3</batch:id><batch:operation type='update'/><gd:name 
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: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 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;RHs-fzVSLit7I2A9XRdWFEQKQwE.&quot;'><title type='text'>Fooish 
Bar</title><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/124aa0c708271161</id><updated>2014-11-08T23:47:35Z</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/124aa0c708271161' 
rel='http://schemas.google.com/contacts/2008/rel#photo' type='image/*'/><link 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%4
 0googlemail.com/full/124aa0c708271161' 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/124aa0c708271161' 
rel='http://www.iana.org/assignments/relation/edit' 
type='application/atom+xml'/><batch:id>1</batch:id><batch:operation type='delete'/><gd:name 
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: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
+< Soup-Debug-Timestamp: 1415490456
+< Soup-Debug: SoupMessage 3 (0x1ce93a0)
+< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
+< Pragma: no-cache
+< Expires: Fri, 01 Jan 1990 00:00:00 GMT
+< Date: Sat, 08 Nov 2014 23:47:36 GMT
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <feed xmlns="http://www.w3.org/2005/Atom"; xmlns:batch="http://schemas.google.com/gdata/batch"; 
xmlns:gContact="http://schemas.google.com/contact/2008"; xmlns:gd="http://schemas.google.com/g/2005";>
+<  
<id>https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/batch/1415490456389000</id>
+<  <updated>2014-11-08T23:47:36.389Z</updated>
+<  <title type="text">Batch operation feed</title>
+<  <entry gd:etag="&quot;R3w9fDVSLit7I2A9XRdWFEQKQwE.&quot;">
+<   <batch:id>3</batch:id>
+<   <batch:operation type="update"/>
+<   <batch:status code="200" reason="Success"/>
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/703f874088829e7d</id>
+<   <updated>2014-11-08T23:47:36.264Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:47:36.264Z</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/703f874088829e7d"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/703f874088829e7d"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/703f874088829e7d"/>
+<   <gd:name>
+<    <gd:fullName>Toby</gd:fullName>
+<    <gd:givenName>Brian</gd:givenName>
+<   </gd:name>
+<  </entry>
+<  <entry>
+<   <batch:id>2</batch:id>
+<   <batch:operation type="delete"/>
+<   <batch:status code="400" reason="Invalid entry Id/Uri"/>
+<   <id>foobar</id>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<  </entry>
+<  <entry gd:etag="&quot;RHs-fzVSLit7I2A9XRdWFEQKQwE.&quot;">
+<   <batch:id>1</batch:id>
+<   <batch:operation type="delete"/>
+<   <batch:status code="200" reason="Success"/>
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/124aa0c708271161</id>
+<   <updated>2014-11-08T23:47:35Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:47:35Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>Fooish Bar</title>
+<   <gd:name>
+<    <gd:fullName>Fooish Bar</gd:fullName>
+<    <gd:givenName>Fooish</gd:givenName>
+<    <gd:familyName>Bar</gd:familyName>
+<   </gd:name>
+<  </entry>
+< </feed>
   
diff --git a/gdata/tests/traces/contacts/batch-async b/gdata/tests/traces/contacts/batch-async
index bc5a5f5..c3e1463 100644
--- a/gdata/tests/traces/contacts/batch-async
+++ b/gdata/tests/traces/contacts/batch-async
@@ -1,28 +1,57 @@
POST /m8/feeds/contacts/default/full/batch HTTP/1.1
-> Soup-Debug-Timestamp: 1375362976
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 5 (0x8a2660), SoupSocket 5 (0x8f3790)
+> Soup-Debug-Timestamp: 1415490479
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 11 (0x1ce9760), SoupSocket 6 (0x1e329d0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANYAAACEVu1_bRDNe9RgSD9ZBpOd3wrIlCGMT5j4obkMZr9xzaecCbh7Ad88EHTPx_-XXUENDehvQ4HWMlCeXcfB9dwJ3b18s7PWnls2aHGTGVYopRnLzMKvEdl4E2cyU4OZuMcgVVLVwro91w4JG_RSnZmd8J7IEj83YnoNbBiv4x8yjOcPb5WO3wEoyNzGKwcPvEu9b_NOF7EsbiC0nIOY4Lr4MZCkFzK3iUr1OKGLXZHB2HOFyuJHaMDpIUfubYW4M3w1YlkGBCBCfxr18lGeMluMVL2D9u6rELYQwCWwBkeyeg
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
Content-Type: application/atom+xml
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive

-> <?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' 
xmlns:batch='http://schemas.google.com/gdata/batch' xmlns:gd='http://schemas.google.com/g/2005'><title 
type='text'>Batch operation feed</title><id>batch1</id><updated>2013-08-01T13:16:16Z</updated><entry><title 
type='text'>Batch operation 
query</title><id>https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/35744fd80b8692dc</id><updated>2013-08-01T13:16:16Z</updated><batch:id>1</batch:id><batch:operation
 type='query'/></entry></feed>
+> <?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' 
xmlns:batch='http://schemas.google.com/gdata/batch' xmlns:gd='http://schemas.google.com/g/2005'><title 
type='text'>Batch operation feed</title><id>batch1</id><updated>2014-11-08T23:47:59Z</updated><entry><title 
type='text'>Batch operation 
query</title><id>https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/37dab6bd880c2b8e</id><updated>2014-11-08T23:47:59Z</updated><batch:id>1</batch:id><batch:operation
 type='query'/></entry></feed>
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375362976
-< Soup-Debug: SoupMessage 5 (0x8a2660)
-< 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
+< Soup-Debug-Timestamp: 1415490479
+< Soup-Debug: SoupMessage 11 (0x1ce9760)
+< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
+< Pragma: no-cache
+< Expires: Fri, 01 Jan 1990 00:00:00 GMT
+< Date: Sat, 08 Nov 2014 23:47:59 GMT
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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/1375362976702</id><updated>2013-08-01T13:16:16.707Z</updated><title>Batch
 operation feed</title><entry 
gd:etag='&quot;R3s7eDVSLit7I2A9WhFWE0sITgM.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/35744fd80b8692dc</id><updated>2013-08-01T13:16:16.500Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:16:16.500Z</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/35744fd80b8692dc'/><link rel='self' 
type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/35744fd80b8692dc'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/35744fd80b8692dc'/><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='200' reason='Success'/><batch:operation type='query'/></entry></feed>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <feed xmlns="http://www.w3.org/2005/Atom"; xmlns:batch="http://schemas.google.com/gdata/batch"; 
xmlns:gContact="http://schemas.google.com/contact/2008"; xmlns:gd="http://schemas.google.com/g/2005";>
+<  
<id>https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/batch/1415490479322000</id>
+<  <updated>2014-11-08T23:47:59.322Z</updated>
+<  <title type="text">Batch operation feed</title>
+<  <entry gd:etag="&quot;SXY_cDVSLit7I2A9XRdWFEQKQwM.&quot;">
+<   <batch:id>1</batch:id>
+<   <batch:operation type="query"/>
+<   <batch:status code="200" reason="Success"/>
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/37dab6bd880c2b8e</id>
+<   <updated>2014-11-08T23:47:58.848Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:47:58.848Z</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/37dab6bd880c2b8e"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/37dab6bd880c2b8e"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/37dab6bd880c2b8e"/>
+<   <gd:name>
+<    <gd:fullName>Fooish Bar</gd:fullName>
+<    <gd:givenName>Fooish</gd:givenName>
+<    <gd:familyName>Bar</gd:familyName>
+<   </gd:name>
+<  </entry>
+< </feed>
   
diff --git a/gdata/tests/traces/contacts/contact-insert b/gdata/tests/traces/contacts/contact-insert
index 7446f87..eed299e 100644
--- a/gdata/tests/traces/contacts/contact-insert
+++ b/gdata/tests/traces/contacts/contact-insert
@@ -1,32 +1,90 @@
POST /m8/feeds/contacts/default/full HTTP/1.1
-> Soup-Debug-Timestamp: 1375253708
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 1 (0x7d2c80), SoupSocket 1 (0x72a250)
+> Soup-Debug-Timestamp: 1415489531
+> Soup-Debug: SoupSession 1 (0x15cd240), SoupMessage 4 (0x182f550), SoupSocket 4 (0x18d5c10)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAAXK6VbKHFb8MrY8VDDk8TplfYU8Pl8OJ_JDJA5Ku7Q1SXgGXmiXXNSumd183YRnbThEZBRN5nYygedI2kQsVKzOFACPFEPo7ShQaRGycnxE3GLDfmMWN_zc43HzWPka0-WgOvpmqpxLFWh0EYyD3pF7Yebk_jLBxJEBWU9v8FZrljhbtK-g4kiiBeuNs4kYYLTu-vF7GCSIcSC2WuHSkxI091viwmbQhZY_6fi_MaY_qgOPss9HlAHeJ543JSjtRmsVtK_4aNWbmaz9VcCr9lXEksu1dUTvroRvtlr8XyvOg
+> Authorization: Bearer ya29.uACgkznYPDckPkHNMU2MF2gRNGrNKqsjnalf5jZmQ0jV9jcp297YMiQop53msSbUJi5poX8LolhsSw
GData-Version: 3
Content-Type: application/atom+xml
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
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:phoneNum
 ber 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:userDefinedFi
 eld 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
+< Soup-Debug-Timestamp: 1415489531
+< Soup-Debug: SoupMessage 4 (0x182f550)
+< ETag: "QHo8cDVSLit7I2A9XRdWFEUDQgc."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
+< Date: Sat, 08 Nov 2014 23:32:11 GMT
+< Expires: Sat, 08 Nov 2014 23:32:11 GMT
+< Cache-Control: private, max-age=0
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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/669a
 ee080ec47f33'/><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>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <entry gd:etag="&quot;QHo8cDVSLit7I2A9XRdWFEUDQgc.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005";>
+<  <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/3d8219568aedc2a9</id>
+<  <updated>2014-11-08T23:32:11.478Z</updated>
+<  <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:32:11.478Z</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/3d8219568aedc2a9"/>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/3d8219568aedc2a9"/>
+<  <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/3d8219568aedc2a9"/>
+<  <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:initials>A. B. C.</gContact:initials>
+<  <gContact:shortName>Jon</gContact:shortName>
+<  <gContact:maidenName>Smith</gContact:maidenName>
+<  <gContact:gender value="male"/>
+<  <gContact:birthday when="--01-01"/>
+<  <gContact:occupation>Professional bum</gContact:occupation>
+<  <gContact:billingInformation>Big J Enterprises, Ltd.</gContact:billingInformation>
+<  <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 rel="http://schemas.google.com/g/2005#work"; primary="true">
+<   <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 primary="true" href="http://calendar.example.com/"; 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>
   
diff --git a/gdata/tests/traces/contacts/contact-update b/gdata/tests/traces/contacts/contact-update
index 630f3c1..856d0c0 100644
--- a/gdata/tests/traces/contacts/contact-update
+++ b/gdata/tests/traces/contacts/contact-update
@@ -1,30 +1,63 @@
-> PUT /m8/feeds/contacts/libgdata.test%40googlemail.com/full/465577d88b0afee8 HTTP/1.1
-> Soup-Debug-Timestamp: 1375253710
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 4 (0x7d28c0), SoupSocket 2 (0x72a310)
+> PUT /m8/feeds/contacts/libgdata.test%40googlemail.com/full/c8390ec0ef7f98a HTTP/1.1
+> Soup-Debug-Timestamp: 1415489543
+> Soup-Debug: SoupSession 1 (0x15cd240), SoupMessage 7 (0x182f370), SoupSocket 5 (0x18d5ce0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAAXK6VbKHFb8MrY8VDDk8TplfYU8Pl8OJ_JDJA5Ku7Q1SXgGXmiXXNSumd183YRnbThEZBRN5nYygedI2kQsVKzOFACPFEPo7ShQaRGycnxE3GLDfmMWN_zc43HzWPka0-WgOvpmqpxLFWh0EYyD3pF7Yebk_jLBxJEBWU9v8FZrljhbtK-g4kiiBeuNs4kYYLTu-vF7GCSIcSC2WuHSkxI091viwmbQhZY_6fi_MaY_qgOPss9HlAHeJ543JSjtRmsVtK_4aNWbmaz9VcCr9lXEksu1dUTvroRvtlr8XyvOg
+> Authorization: Bearer ya29.uACgkznYPDckPkHNMU2MF2gRNGrNKqsjnalf5jZmQ0jV9jcp297YMiQop53msSbUJi5poX8LolhsSw
GData-Version: 3
-> If-Match: "SHY-fDVSLit7I2A9WhFWEkgJQAQ."
+> If-Match: "Q3g7cTVSLit7I2A9XRdWFEUDQgc."
Content-Type: application/atom+xml
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
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' gd:etag='&quot;SHY-fDVSLit7I2A9WhFWEkgJQAQ.&quot;'><title 
type='text'>John 
Wilson</title><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/465577d88b0afee8</id><updated>2013-07-31T06:55:09Z</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/465577d88b0afee8' 
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/465577d88b0afee8' 
rel='http://www.iana.org/assignments/relation/self' type='application/atom+xml'/><link 
href='https://www.google.com/m8/feeds/contacts/libgdat
 a.test%40googlemail.com/full/465577d88b0afee8' rel='http://www.iana.org/assignments/relation/edit' 
type='application/atom+xml'/><gd:name><gd:fullName>John Wilson</gd:fullName></gd:name><gd:extendedProperty 
name='contact-test'>value</gd:extendedProperty><gContact:nickname>Test Contact 
Esq.</gContact:nickname></entry>
+> <?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' xmlns:batch='http://schemas.google.com/gdata/batch' 
gd:etag='&quot;Q3g7cTVSLit7I2A9XRdWFEUDQgc.&quot;'><title type='text'>John 
Wilson</title><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/c8390ec0ef7f98a</id><updated>2014-11-08T23:32:12Z</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/c8390ec0ef7f98a' 
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/c8390ec0ef7f98a' 
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/c8390ec0ef7f98a' 
rel='http://www.iana.org/assignments/relation/edit' type='application/atom+xml'/><gd:name><gd:fullName>John 
Wilson</gd:fullName></gd:name><gd:extendedProperty 
name='contact-test'>value</gd:extendedProperty><gContact:nickname>Test Contact Esq.</gContact:nickname>
+>  
+>  
+>  
+>  
+>  
+>  
+>  
+>  
+>  
+> </entry>
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375253710
-< Soup-Debug: SoupMessage 4 (0x7d28c0)
-< Content-Type: application/atom+xml; charset=UTF-8; type=entry
-< GData-Version: 3.1
-< ETag: "QXw_eDVSLit7I2A9WhFWEkgJQAU."
-< Date: Wed, 31 Jul 2013 06:55:10 GMT
-< Expires: Wed, 31 Jul 2013 06:55:10 GMT
-< Cache-control: private, max-age=0
+< Soup-Debug-Timestamp: 1415489543
+< Soup-Debug: SoupMessage 7 (0x182f370)
+< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
+< Pragma: no-cache
+< Expires: Fri, 01 Jan 1990 00:00:00 GMT
+< Date: Sat, 08 Nov 2014 23:32:23 GMT
+< ETag: "Qnw7fjVSLyt7I2A9XRdWFEUDQgA."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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;QXw_eDVSLit7I2A9WhFWEkgJQAU.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/465577d88b0afee8</id><updated>2013-07-31T06:55:10.240Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-07-31T06:55:10.240Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#contact'/><title>John Wilson</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/465577d88b0afee8'/><link 
rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/465577d88b0afee8'/><link re
 l='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/465577d88b0afee8'/><gd:name><gd:fullName>John
 
Wilson</gd:fullName><gd:givenName>John</gd:givenName><gd:familyName>Wilson</gd:familyName></gd:name><gContact:nickname>Test
 Contact Esq.</gContact:nickname><gd:extendedProperty name='contact-test'>value</gd:extendedProperty></entry>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <entry gd:etag="&quot;Qnw7fjVSLyt7I2A9XRdWFEUDQgA.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005";>
+<  <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/c8390ec0ef7f98a</id>
+<  <updated>2014-11-08T23:32:23.206Z</updated>
+<  <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:32:23.206Z</app:edited>
+<  <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<  <title>John Wilson</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/c8390ec0ef7f98a"/>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/c8390ec0ef7f98a"/>
+<  <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/c8390ec0ef7f98a"/>
+<  <gd:name>
+<   <gd:fullName>John Wilson</gd:fullName>
+<   <gd:givenName>John</gd:givenName>
+<   <gd:familyName>Wilson</gd:familyName>
+<  </gd:name>
+<  <gContact:nickname>Test Contact Esq.</gContact:nickname>
+<  <gd:extendedProperty name="contact-test">value</gd:extendedProperty>
+< </entry>
   
diff --git a/gdata/tests/traces/contacts/global-authentication 
b/gdata/tests/traces/contacts/global-authentication
index 477cc54..a558a5c 100644
--- a/gdata/tests/traces/contacts/global-authentication
+++ b/gdata/tests/traces/contacts/global-authentication
@@ -1,27 +1,35 @@
-> POST /accounts/ClientLogin HTTP/1.1
-> Soup-Debug-Timestamp: 1375363883
-> Soup-Debug: SoupSession 1 (0x66f1d0), SoupMessage 1 (0x8a20c0), SoupSocket 1 (0x8f30d0)
-> Host: www.google.com
+> POST /o/oauth2/token HTTP/1.1
+> Soup-Debug-Timestamp: 1415490454
+> Soup-Debug: SoupSession 1 (0x1c05110), SoupMessage 1 (0x1ce90d0), SoupSocket 1 (0x1e32900)
+> Host: accounts.google.com
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive

-> 
accountType=HOSTED%5FOR%5FGOOGLE&Email=libgdata%2Etest%40gmail%2Ecom&Passwd=gdata%2Dgdata&service=cp&source=ytapi%2DGNOME%2Dlibgdata%2D444fubtt%2D0
+> 
client_id=352818697630-nqu2cmt5quqd6lr17ouoqmb684u84l1f.apps.googleusercontent.com&client_secret=-fA4pHQJxR3zJ-FyAMPQsikg&code=4%2FnMGN3dwZKY3b-GGcpyYpncY-GvKwp5cmM0lVqaJz1k0.knZS65dvk9gToiIBeO6P2m-IH6AjkwI&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&grant_type=authorization_code
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375363883
-< Soup-Debug: SoupMessage 1 (0x8a20c0)
-< Content-Type: text/plain
-< Cache-control: no-cache, no-store
+< Soup-Debug-Timestamp: 1415490455
+< Soup-Debug: SoupMessage 1 (0x1ce90d0)
+< Content-Type: application/json; charset=utf-8
+< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
 < Pragma: no-cache
-< Expires: Mon, 01-Jan-1990 00:00:00 GMT
-< Date: Thu, 01 Aug 2013 13:31:23 GMT
+< Expires: Fri, 01 Jan 1990 00:00:00 GMT
+< Date: Sat, 08 Nov 2014 23:47:35 GMT
+< Content-Disposition: attachment; filename="json.txt"; filename*=UTF-8''json.txt
+< Content-Encoding: gzip
 < X-Content-Type-Options: nosniff
+< X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
-< Content-Length: 947
 < Server: GSE
+< Alternate-Protocol: 443:quic,p=0.01
+< Transfer-Encoding: chunked
 < 
-< 
SID=DQAAANQAAACpgx1jJWZrMRCNj1beNPAWmn0jBFgPa1Pehnurr7JLhgCAQwo8fyM7uvBxflnbgU-mX9bBntVKK5JWqGqmQLFTWQf0fsa5oMS8YOb2r3nyS9080jv4WMiqo2It1eBZ6Jd_fRLz6rS-ikxj7GaFcNFgU4UoVZQz-uFktY-hcmrALg_GNYR9JO97m90YBs-Y6nPmHMufAYa88K-HD8GleExE7gWwUjRuCyeUjifxTRcUooJofDwyu0oGsoLP_W8KAJLJoDWrjijHOR_VqSxk8tJMGVnHwqCX3IZMyGV6p_38MQ
-< 
LSID=DQAAANYAAADtjTOJJU3aN2xxS0RFYXiikPITkpt4b3hR1fQ9TbQlx-Cgsdk1AW48YqFLPUdI1yl4jCrrpq4RMa_PjxX8MS-QcBmWVF_KmdnPY9D0OiCUzGdbCSpXW8DJhvSzTPUn7NuLJtpFSnO686d6Ga9WmsF4VMahl_aRU8Xr8AMeoBb2Hg3yagjNgFhlyHReigIJEQLNq7FPI9kqqGmHDWEAOEtsfEIOe3fQG1c4JE5NzfU3dAn1Ppf73MXfSWZInY-jg4Fhzrm-6P3_LiG6Oy56zNRtIp9Cyy8KGaX2solLGSB06A
-< 
Auth=DQAAANUAAADtjTOJJU3aN2xxS0RFYXiikPITkpt4b3hR1fQ9TbQlx-Cgsdk1AW48YqFLPUdI1ykyKbaS_VSAfv5B_IGEi3Wa1McgCuVz7nIjv_OMYVERFthN0-Nj95PWV19GJMPKDhcOwzN_W2wjFTXSyHmhy6pNoc48jWohDPHCzv6G9jsEj9KOTlHT6F9pGe3H3bGf0ga0s6bPJ6Yv2orycMebH1EDv5crVSPRx6e7Uy50qDXVTJH1zXUXShunNRKTm09H_Tmfwn1fdBVj6GshI4GoLbir6j-SD4YXN7PWJEmHVsyBYg
+< {
+<   "access_token" : "ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw",
+<   "token_type" : "Bearer",
+<   "expires_in" : 3600,
+<   "refresh_token" : "1/OxplJowxtPHiKob9htjgcEh6VihajS9Zomx7y9ljWOI"
+< }
   
diff --git a/gdata/tests/traces/contacts/group-insert b/gdata/tests/traces/contacts/group-insert
index 10a3b98..e99c414 100644
--- a/gdata/tests/traces/contacts/group-insert
+++ b/gdata/tests/traces/contacts/group-insert
@@ -1,32 +1,45 @@
POST /m8/feeds/groups/default/full HTTP/1.1
-> Soup-Debug-Timestamp: 1375363883
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 1 (0x8a22a0), SoupSocket 1 (0x8f3190)
+> Soup-Debug-Timestamp: 1415490492
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 22 (0x1ce93a0), SoupSocket 11 (0x7f4510044f70)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAADtjTOJJU3aN2xxS0RFYXiikPITkpt4b3hR1fQ9TbQlx-Cgsdk1AW48YqFLPUdI1ykyKbaS_VSAfv5B_IGEi3Wa1McgCuVz7nIjv_OMYVERFthN0-Nj95PWV19GJMPKDhcOwzN_W2wjFTXSyHmhy6pNoc48jWohDPHCzv6G9jsEj9KOTlHT6F9pGe3H3bGf0ga0s6bPJ6Yv2orycMebH1EDv5crVSPRx6e7Uy50qDXVTJH1zXUXShunNRKTm09H_Tmfwn1fdBVj6GshI4GoLbir6j-SD4YXN7PWJEmHVsyBYg
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
Content-Type: application/atom+xml
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
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'>New Group!</title><content type='text'>New 
Group!</content><category term='http://schemas.google.com/contact/2008#group' 
scheme='http://schemas.google.com/g/2005#kind'/><gd:extendedProperty 
name='foobar'>barfoo</gd:extendedProperty></entry>
   
 < HTTP/1.1 201 Created
-< Soup-Debug-Timestamp: 1375363883
-< Soup-Debug: SoupMessage 1 (0x8a22a0)
-< Content-Type: application/atom+xml; charset=UTF-8; type=entry
-< Expires: Thu, 01 Aug 2013 13:31:23 GMT
-< Date: Thu, 01 Aug 2013 13:31:23 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
-< Vary: Accept, X-GData-Authorization, GData-Version
-< GData-Version: 3.1
-< ETag: "QnY_ejVSLit7I2A9WhFWE0sJTww."
-< Location: https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/1fff1bc78f083ca0
-< Content-Location: 
https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/1fff1bc78f083ca0
+< Soup-Debug-Timestamp: 1415490493
+< Soup-Debug: SoupMessage 22 (0x1ce93a0)
+< ETag: "Q3c-cTVSLSt7I2A9XRdWFEQKQw0."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
+< Date: Sat, 08 Nov 2014 23:48:13 GMT
+< Expires: Sat, 08 Nov 2014 23:48:13 GMT
+< Cache-Control: private, max-age=0
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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;QnY_ejVSLit7I2A9WhFWE0sJTww.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/1fff1bc78f083ca0</id><updated>2013-08-01T13:31:23.842Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:31:23.842Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>New Group!</title><content>New 
Group!</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/1fff1bc78f083ca0'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/1fff1bc78f083ca0'/><gd:extendedPropert
 y name='foobar'>barfoo</gd:extendedProperty></entry>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <entry gd:etag="&quot;Q3c-cTVSLSt7I2A9XRdWFEQKQw0.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005";>
+<  <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6beff9268d4dbc1f</id>
+<  <updated>2014-11-08T23:48:12.959Z</updated>
+<  <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:48:12.959Z</app:edited>
+<  <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<  <title>New Group!</title>
+<  <content>New Group!</content>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/6beff9268d4dbc1f"/>
+<  <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/6beff9268d4dbc1f"/>
+<  <gd:extendedProperty name="foobar">barfoo</gd:extendedProperty>
+< </entry>
   
diff --git a/gdata/tests/traces/contacts/group_insert-async b/gdata/tests/traces/contacts/group_insert-async
index 9d4bf2d..62fd631 100644
--- a/gdata/tests/traces/contacts/group_insert-async
+++ b/gdata/tests/traces/contacts/group_insert-async
@@ -1,32 +1,45 @@
POST /m8/feeds/groups/default/full HTTP/1.1
-> Soup-Debug-Timestamp: 1375363894
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 3 (0x8a2660), SoupSocket 2 (0x8f36d0)
+> Soup-Debug-Timestamp: 1415490541
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 47 (0x7f451000f680), SoupSocket 22 (0x1e32de0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAADtjTOJJU3aN2xxS0RFYXiikPITkpt4b3hR1fQ9TbQlx-Cgsdk1AW48YqFLPUdI1ykyKbaS_VSAfv5B_IGEi3Wa1McgCuVz7nIjv_OMYVERFthN0-Nj95PWV19GJMPKDhcOwzN_W2wjFTXSyHmhy6pNoc48jWohDPHCzv6G9jsEj9KOTlHT6F9pGe3H3bGf0ga0s6bPJ6Yv2orycMebH1EDv5crVSPRx6e7Uy50qDXVTJH1zXUXShunNRKTm09H_Tmfwn1fdBVj6GshI4GoLbir6j-SD4YXN7PWJEmHVsyBYg
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
Content-Type: application/atom+xml
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
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'>New Group!</title><content type='text'>New 
Group!</content><category term='http://schemas.google.com/contact/2008#group' 
scheme='http://schemas.google.com/g/2005#kind'/><gd:extendedProperty 
name='foobar'>barfoo</gd:extendedProperty></entry>
   
 < HTTP/1.1 201 Created
-< Soup-Debug-Timestamp: 1375363894
-< Soup-Debug: SoupMessage 3 (0x8a2660)
-< Content-Type: application/atom+xml; charset=UTF-8; type=entry
-< Expires: Thu, 01 Aug 2013 13:31:34 GMT
-< Date: Thu, 01 Aug 2013 13:31:34 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
-< Vary: Accept, X-GData-Authorization, GData-Version
-< GData-Version: 3.1
-< ETag: "RXg_fzVSLit7I2A9WhFWE0sJTw0."
-< Location: https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/1fff1bc78f083ca0
-< Content-Location: 
https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/1fff1bc78f083ca0
+< Soup-Debug-Timestamp: 1415490542
+< Soup-Debug: SoupMessage 47 (0x7f451000f680)
+< ETag: "Q34_eTVSLyt7I2A9XRdWFEQKQgA."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
+< Date: Sat, 08 Nov 2014 23:49:02 GMT
+< Expires: Sat, 08 Nov 2014 23:49:02 GMT
+< Cache-Control: private, max-age=0
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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;RXg_fzVSLit7I2A9WhFWE0sJTw0.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/1fff1bc78f083ca0</id><updated>2013-08-01T13:31:34.647Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:31:34.647Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>New Group!</title><content>New 
Group!</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/1fff1bc78f083ca0'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/1fff1bc78f083ca0'/><gd:extendedPropert
 y name='foobar'>barfoo</gd:extendedProperty></entry>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <entry gd:etag="&quot;Q34_eTVSLyt7I2A9XRdWFEQKQgA.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005";>
+<  <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6beff9268d4dbc1f</id>
+<  <updated>2014-11-08T23:49:02.041Z</updated>
+<  <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:49:02.041Z</app:edited>
+<  <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<  <title>New Group!</title>
+<  <content>New Group!</content>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/6beff9268d4dbc1f"/>
+<  <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/6beff9268d4dbc1f"/>
+<  <gd:extendedProperty name="foobar">barfoo</gd:extendedProperty>
+< </entry>
   
diff --git a/gdata/tests/traces/contacts/group_insert-async-cancellation 
b/gdata/tests/traces/contacts/group_insert-async-cancellation
index 91aa78d..91d8ec6 100644
--- a/gdata/tests/traces/contacts/group_insert-async-cancellation
+++ b/gdata/tests/traces/contacts/group_insert-async-cancellation
@@ -1,32 +1,45 @@
POST /m8/feeds/groups/default/full HTTP/1.1
-> Soup-Debug-Timestamp: 1375363905
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 6 (0x7fffe00299c0), SoupSocket 4 (0x8f3190)
+> Soup-Debug-Timestamp: 1415490553
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 50 (0x7f451000f2c0), SoupSocket 24 (0x7f4510044dd0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAADtjTOJJU3aN2xxS0RFYXiikPITkpt4b3hR1fQ9TbQlx-Cgsdk1AW48YqFLPUdI1ykyKbaS_VSAfv5B_IGEi3Wa1McgCuVz7nIjv_OMYVERFthN0-Nj95PWV19GJMPKDhcOwzN_W2wjFTXSyHmhy6pNoc48jWohDPHCzv6G9jsEj9KOTlHT6F9pGe3H3bGf0ga0s6bPJ6Yv2orycMebH1EDv5crVSPRx6e7Uy50qDXVTJH1zXUXShunNRKTm09H_Tmfwn1fdBVj6GshI4GoLbir6j-SD4YXN7PWJEmHVsyBYg
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
Content-Type: application/atom+xml
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
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'>New Group!</title><content type='text'>New 
Group!</content><category term='http://schemas.google.com/contact/2008#group' 
scheme='http://schemas.google.com/g/2005#kind'/><gd:extendedProperty 
name='foobar'>barfoo</gd:extendedProperty></entry>
   
 < HTTP/1.1 201 Created
-< Soup-Debug-Timestamp: 1375363905
-< Soup-Debug: SoupMessage 6 (0x7fffe00299c0)
-< Content-Type: application/atom+xml; charset=UTF-8; type=entry
-< Expires: Thu, 01 Aug 2013 13:31:45 GMT
-< Date: Thu, 01 Aug 2013 13:31:45 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
-< Vary: Accept, X-GData-Authorization, GData-Version
-< GData-Version: 3.1
-< ETag: "RHk5ezVSLit7I2A9WhFWE0sJTgQ."
-< Location: https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/1fff1bc78f083ca0
-< Content-Location: 
https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/1fff1bc78f083ca0
+< Soup-Debug-Timestamp: 1415490553
+< Soup-Debug: SoupMessage 50 (0x7f451000f2c0)
+< ETag: "Qnw6fzVSLit7I2A9XRdWFEQKQgE."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
+< Date: Sat, 08 Nov 2014 23:49:13 GMT
+< Expires: Sat, 08 Nov 2014 23:49:13 GMT
+< Cache-Control: private, max-age=0
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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;RHk5ezVSLit7I2A9WhFWE0sJTgQ.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/1fff1bc78f083ca0</id><updated>2013-08-01T13:31:45.723Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:31:45.723Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>New Group!</title><content>New 
Group!</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/1fff1bc78f083ca0'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/1fff1bc78f083ca0'/><gd:extendedPropert
 y name='foobar'>barfoo</gd:extendedProperty></entry>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <entry gd:etag="&quot;Qnw6fzVSLit7I2A9XRdWFEQKQgE.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005";>
+<  <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6beff9268d4dbc1f</id>
+<  <updated>2014-11-08T23:49:13.217Z</updated>
+<  <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:49:13.217Z</app:edited>
+<  <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<  <title>New Group!</title>
+<  <content>New Group!</content>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/6beff9268d4dbc1f"/>
+<  <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/6beff9268d4dbc1f"/>
+<  <gd:extendedProperty name="foobar">barfoo</gd:extendedProperty>
+< </entry>
   
diff --git a/gdata/tests/traces/contacts/photo-add b/gdata/tests/traces/contacts/photo-add
index b6944b5..cd0ecf4 100644
--- a/gdata/tests/traces/contacts/photo-add
+++ b/gdata/tests/traces/contacts/photo-add
@@ -1,30 +1,33 @@
-> PUT /m8/feeds/photos/media/libgdata.test%40googlemail.com/465577d88b0afee8 HTTP/1.1
-> Soup-Debug-Timestamp: 1375362368
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 2 (0x9b1460), SoupSocket 1 (0x8d79a0)
+> PUT /m8/feeds/photos/media/libgdata.test%40googlemail.com/c8390ec0ef7f98a HTTP/1.1
+> Soup-Debug-Timestamp: 1415489586
+> Soup-Debug: SoupSession 1 (0x15cd240), SoupMessage 41 (0x182f190), SoupSocket 19 (0x7ff438057b20)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANYAAAAWvJzyD2J6d8-v1A-RQD2CZTFj0cXmZR5bhO3uJZYudiF6fHFDR_cHNwZtRrJtSgV87AW-TE_m-GQ4qhW8JBqLxAf_sJm20_8TtptsoN0SC0d9j-MJPc5QimHpp1nfIWrM5Ni9qmSQqpgB_vxH0KMXVyaC88nkQel0Hcz4U8Z4oH1Msd-XmDhGIlcgrWsKIiF0Mx4eOgsS8ces49E_U9HBXETdKHsFFg50rkU9wq6qx_eL7bzeTmra421N8QrAzP48g_zKQdSGmAEIs3ujmXW8mQCrmL0TGUhGuJBDqRyWqg
+> Authorization: Bearer ya29.uACgkznYPDckPkHNMU2MF2gRNGrNKqsjnalf5jZmQ0jV9jcp297YMiQop53msSbUJi5poX8LolhsSw
GData-Version: 3
If-Match: *
Content-Type: image/jpeg
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive

����
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375362369
-< Soup-Debug: SoupMessage 2 (0x9b1460)
+< Soup-Debug-Timestamp: 1415489588
+< Soup-Debug: SoupMessage 41 (0x182f190)
 < Content-Type: application/atom+xml; charset=UTF-8; type=entry
 < GData-Version: 3.1
 < ETag: "RmtJPnAWSit7I2A9KxQuEiQCNkcWGnsvRA8."
-< Date: Thu, 01 Aug 2013 13:06:09 GMT
-< Expires: Thu, 01 Aug 2013 13:06:09 GMT
-< Cache-control: private, max-age=0
+< Content-Encoding: gzip
+< Date: Sat, 08 Nov 2014 23:33:08 GMT
+< Expires: Sat, 08 Nov 2014 23:33:08 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.01
 < Transfer-Encoding: chunked
 < 
-< <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' 
xmlns:gd='http://schemas.google.com/g/2005' 
gd:etag='&quot;RmtJPnAWSit7I2A9KxQuEiQCNkcWGnsvRA8.&quot;'><id>http://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/465577d88b0afee8</id><updated>2013-08-01T13:05:57.969Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:05:57.969Z</app:edited><link rel='self' 
type='application/atom+xml' 
href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/465577d88b0afee8'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/465577d88b0afee8'/></entry>
+< <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' 
xmlns:gd='http://schemas.google.com/g/2005' 
gd:etag='&quot;RmtJPnAWSit7I2A9KxQuEiQCNkcWGnsvRA8.&quot;'><id>http://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/c8390ec0ef7f98a</id><updated>2014-11-08T23:32:56.426Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2014-11-08T23:32:56.426Z</app:edited><link rel='self' 
type='application/atom+xml' 
href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/c8390ec0ef7f98a'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/c8390ec0ef7f98a'/></entry>
   
diff --git a/gdata/tests/traces/contacts/photo-delete b/gdata/tests/traces/contacts/photo-delete
index 6a4f0f9..af198c8 100644
--- a/gdata/tests/traces/contacts/photo-delete
+++ b/gdata/tests/traces/contacts/photo-delete
@@ -1,25 +1,27 @@
-> DELETE /m8/feeds/photos/media/libgdata.test%40googlemail.com/465577d88b0afee8 HTTP/1.1
-> Soup-Debug-Timestamp: 1375362414
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 14 (0x9b1460), SoupSocket 3 (0x8d7b20)
+> DELETE /m8/feeds/photos/media/libgdata.test%40googlemail.com/c8390ec0ef7f98a HTTP/1.1
+> Soup-Debug-Timestamp: 1415489633
+> Soup-Debug: SoupSession 1 (0x15cd240), SoupMessage 53 (0x182f190), SoupSocket 21 (0x7ff438057b20)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANYAAAAWvJzyD2J6d8-v1A-RQD2CZTFj0cXmZR5bhO3uJZYudiF6fHFDR_cHNwZtRrJtSgV87AW-TE_m-GQ4qhW8JBqLxAf_sJm20_8TtptsoN0SC0d9j-MJPc5QimHpp1nfIWrM5Ni9qmSQqpgB_vxH0KMXVyaC88nkQel0Hcz4U8Z4oH1Msd-XmDhGIlcgrWsKIiF0Mx4eOgsS8ces49E_U9HBXETdKHsFFg50rkU9wq6qx_eL7bzeTmra421N8QrAzP48g_zKQdSGmAEIs3ujmXW8mQCrmL0TGUhGuJBDqRyWqg
+> Authorization: Bearer ya29.uACgkznYPDckPkHNMU2MF2gRNGrNKqsjnalf5jZmQ0jV9jcp297YMiQop53msSbUJi5poX8LolhsSw
GData-Version: 3
-> If-Match: "aBJ3HEkWSit7I2BdXXBUFRhSPF4eKzkSPTo."
+> If-Match: "Lmt6BwoIbCt7I2BnCFc6EEx-JkY0N3wCaQ0."
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375362414
-< Soup-Debug: SoupMessage 14 (0x9b1460)
+< Soup-Debug-Timestamp: 1415489634
+< Soup-Debug: SoupMessage 53 (0x182f190)
 < GData-Version: 3.1
-< Date: Thu, 01 Aug 2013 13:06:54 GMT
-< Expires: Thu, 01 Aug 2013 13:06:54 GMT
-< Cache-control: private, max-age=0
+< Date: Sat, 08 Nov 2014 23:33:54 GMT
+< Expires: Sat, 08 Nov 2014 23:33:54 GMT
+< Cache-Control: private, max-age=0
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Content-Length: 0
 < Server: GSE
 < Content-Type: text/html; charset=UTF-8
+< Alternate-Protocol: 443:quic,p=0.01
 < 
   
diff --git a/gdata/tests/traces/contacts/photo-get b/gdata/tests/traces/contacts/photo-get
index bb920af..430c2e7 100644
--- a/gdata/tests/traces/contacts/photo-get
+++ b/gdata/tests/traces/contacts/photo-get
@@ -1,27 +1,29 @@
-> GET /m8/feeds/photos/media/libgdata.test%40googlemail.com/465577d88b0afee8 HTTP/1.1
-> Soup-Debug-Timestamp: 1375362392
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 8 (0x9b1460), SoupSocket 2 (0x8d7a60)
+> GET /m8/feeds/photos/media/libgdata.test%40googlemail.com/c8390ec0ef7f98a HTTP/1.1
+> Soup-Debug-Timestamp: 1415489610
+> Soup-Debug: SoupSession 1 (0x15cd240), SoupMessage 47 (0x182f460), SoupSocket 20 (0x7ff438057d90)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANYAAAAWvJzyD2J6d8-v1A-RQD2CZTFj0cXmZR5bhO3uJZYudiF6fHFDR_cHNwZtRrJtSgV87AW-TE_m-GQ4qhW8JBqLxAf_sJm20_8TtptsoN0SC0d9j-MJPc5QimHpp1nfIWrM5Ni9qmSQqpgB_vxH0KMXVyaC88nkQel0Hcz4U8Z4oH1Msd-XmDhGIlcgrWsKIiF0Mx4eOgsS8ces49E_U9HBXETdKHsFFg50rkU9wq6qx_eL7bzeTmra421N8QrAzP48g_zKQdSGmAEIs3ujmXW8mQCrmL0TGUhGuJBDqRyWqg
+> Authorization: Bearer ya29.uACgkznYPDckPkHNMU2MF2gRNGrNKqsjnalf5jZmQ0jV9jcp297YMiQop53msSbUJi5poX8LolhsSw
GData-Version: 3
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375362392
-< Soup-Debug: SoupMessage 8 (0x9b1460)
+< Soup-Debug-Timestamp: 1415489611
+< Soup-Debug: SoupMessage 47 (0x182f460)
 < Content-Type: image/jpeg
-< Expires: Thu, 01 Aug 2013 13:06:32 GMT
-< Date: Thu, 01 Aug 2013 13:06:32 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
+< Expires: Sat, 08 Nov 2014 23:33:31 GMT
+< Date: Sat, 08 Nov 2014 23:33:31 GMT
+< Cache-Control: private, max-age=0, must-revalidate, no-transform
 < Vary: Accept, X-GData-Authorization, GData-Version
 < GData-Version: 3.1
-< ETag: "LA9-MXQRfCt7I2BuDXFTQzcJIgBFemkvdgg."
+< ETag: "cwwgO1YRWit7I2A_BlwEZzt2IEISCkwmVBc."
 < Transfer-Encoding: chunked
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Alternate-Protocol: 443:quic,p=0.01
 < 
 < ����
   
diff --git a/gdata/tests/traces/contacts/photo_add-async b/gdata/tests/traces/contacts/photo_add-async
index 011402f..99063eb 100644
--- a/gdata/tests/traces/contacts/photo_add-async
+++ b/gdata/tests/traces/contacts/photo_add-async
@@ -1,30 +1,33 @@
-> PUT /m8/feeds/photos/media/libgdata.test%40googlemail.com/465577d88b0afee8 HTTP/1.1
-> Soup-Debug-Timestamp: 1375362425
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 18 (0x9b1640), SoupSocket 4 (0x8d7be0)
+> PUT /m8/feeds/photos/media/libgdata.test%40googlemail.com/c8390ec0ef7f98a HTTP/1.1
+> Soup-Debug-Timestamp: 1415489645
+> Soup-Debug: SoupSession 1 (0x15cd240), SoupMessage 57 (0x7ff43800ee40), SoupSocket 22 (0x7ff4380578b0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANYAAAAWvJzyD2J6d8-v1A-RQD2CZTFj0cXmZR5bhO3uJZYudiF6fHFDR_cHNwZtRrJtSgV87AW-TE_m-GQ4qhW8JBqLxAf_sJm20_8TtptsoN0SC0d9j-MJPc5QimHpp1nfIWrM5Ni9qmSQqpgB_vxH0KMXVyaC88nkQel0Hcz4U8Z4oH1Msd-XmDhGIlcgrWsKIiF0Mx4eOgsS8ces49E_U9HBXETdKHsFFg50rkU9wq6qx_eL7bzeTmra421N8QrAzP48g_zKQdSGmAEIs3ujmXW8mQCrmL0TGUhGuJBDqRyWqg
+> Authorization: Bearer ya29.uACgkznYPDckPkHNMU2MF2gRNGrNKqsjnalf5jZmQ0jV9jcp297YMiQop53msSbUJi5poX8LolhsSw
GData-Version: 3
If-Match: *
Content-Type: image/jpeg
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive

����
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375362426
-< Soup-Debug: SoupMessage 18 (0x9b1640)
+< Soup-Debug-Timestamp: 1415489647
+< Soup-Debug: SoupMessage 57 (0x7ff43800ee40)
 < Content-Type: application/atom+xml; charset=UTF-8; type=entry
 < GData-Version: 3.1
 < ETag: "RmtJPnAWSit7I2A9KxQuEiQCNkcWGnsvRA8."
-< Date: Thu, 01 Aug 2013 13:07:06 GMT
-< Expires: Thu, 01 Aug 2013 13:07:06 GMT
-< Cache-control: private, max-age=0
+< Content-Encoding: gzip
+< Date: Sat, 08 Nov 2014 23:34:07 GMT
+< Expires: Sat, 08 Nov 2014 23:34:07 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.01
 < Transfer-Encoding: chunked
 < 
-< <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' 
xmlns:gd='http://schemas.google.com/g/2005' 
gd:etag='&quot;RmtJPnAWSit7I2A9KxQuEiQCNkcWGnsvRA8.&quot;'><id>http://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/465577d88b0afee8</id><updated>2013-08-01T13:06:55.321Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:06:55.321Z</app:edited><link rel='self' 
type='application/atom+xml' 
href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/465577d88b0afee8'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/465577d88b0afee8'/></entry>
+< <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' 
xmlns:gd='http://schemas.google.com/g/2005' 
gd:etag='&quot;RmtJPnAWSit7I2A9KxQuEiQCNkcWGnsvRA8.&quot;'><id>http://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/c8390ec0ef7f98a</id><updated>2014-11-08T23:33:54.832Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2014-11-08T23:33:54.832Z</app:edited><link rel='self' 
type='application/atom+xml' 
href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/c8390ec0ef7f98a'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/c8390ec0ef7f98a'/></entry>
   
diff --git a/gdata/tests/traces/contacts/photo_add-async-cancellation 
b/gdata/tests/traces/contacts/photo_add-async-cancellation
index 6247f4e..483639e 100644
--- a/gdata/tests/traces/contacts/photo_add-async-cancellation
+++ b/gdata/tests/traces/contacts/photo_add-async-cancellation
@@ -1,28 +1,31 @@
-> PUT /m8/feeds/photos/media/libgdata.test%40googlemail.com/465577d88b0afee8 HTTP/1.1
-> Soup-Debug-Timestamp: 1375362439
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 24 (0x7fffe003cc60), SoupSocket 7 (0x8d7ca0)
+> PUT /m8/feeds/photos/media/libgdata.test%40googlemail.com/c8390ec0ef7f98a HTTP/1.1
+> Soup-Debug-Timestamp: 1415489669
+> Soup-Debug: SoupSession 1 (0x15cd240), SoupMessage 65 (0x7ff42c0028a0), SoupSocket 27 (0x7ff438057d90)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANYAAAAWvJzyD2J6d8-v1A-RQD2CZTFj0cXmZR5bhO3uJZYudiF6fHFDR_cHNwZtRrJtSgV87AW-TE_m-GQ4qhW8JBqLxAf_sJm20_8TtptsoN0SC0d9j-MJPc5QimHpp1nfIWrM5Ni9qmSQqpgB_vxH0KMXVyaC88nkQel0Hcz4U8Z4oH1Msd-XmDhGIlcgrWsKIiF0Mx4eOgsS8ces49E_U9HBXETdKHsFFg50rkU9wq6qx_eL7bzeTmra421N8QrAzP48g_zKQdSGmAEIs3ujmXW8mQCrmL0TGUhGuJBDqRyWqg
+> Authorization: Bearer ya29.uACgkznYPDckPkHNMU2MF2gRNGrNKqsjnalf5jZmQ0jV9jcp297YMiQop53msSbUJi5poX8LolhsSw
GData-Version: 3
-> If-Match: "RmtJPnAWSit7I2A9KxQuEiQCNkcWGnsvRA8."
+> If-Match: "Ry5LPl0dbCt7I2BfDnAkaEVyJFwcf00mcS0."
Content-Type: image/jpeg
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive

����
   
 < HTTP/1.1 412 Precondition Failed
-< Soup-Debug-Timestamp: 1375362439
-< Soup-Debug: SoupMessage 24 (0x7fffe003cc60)
+< Soup-Debug-Timestamp: 1415489670
+< Soup-Debug: SoupMessage 65 (0x7ff42c0028a0)
 < Content-Type: text/html; charset=UTF-8
-< Date: Thu, 01 Aug 2013 13:07:19 GMT
-< Expires: Thu, 01 Aug 2013 13:07:19 GMT
-< Cache-control: private, max-age=0
+< Content-Encoding: gzip
+< Date: Sat, 08 Nov 2014 23:34:30 GMT
+< Expires: Sat, 08 Nov 2014 23:34:30 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.01
 < Transfer-Encoding: chunked
 < 
-< Mismatch: etags = [&quot;RmtJPnAWSit7I2A9KxQuEiQCNkcWGnsvRA8.&quot;], version = [Y1Z3GIaOT23c55tloASGCQ]
+< Mismatch: etags = [&quot;Ry5LPl0dbCt7I2BfDnAkaEVyJFwcf00mcS0.&quot;], version = [14VDGutoxXF-8UQT3fVFTQ]
   
diff --git a/gdata/tests/traces/contacts/photo_delete-async b/gdata/tests/traces/contacts/photo_delete-async
index 51bf9ed..52c517d 100644
--- a/gdata/tests/traces/contacts/photo_delete-async
+++ b/gdata/tests/traces/contacts/photo_delete-async
@@ -1,25 +1,27 @@
-> DELETE /m8/feeds/photos/media/libgdata.test%40googlemail.com/465577d88b0afee8 HTTP/1.1
-> Soup-Debug-Timestamp: 1375362507
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 44 (0x7fffd8012c70), SoupSocket 12 (0x8d7d60)
+> DELETE /m8/feeds/photos/media/libgdata.test%40googlemail.com/c8390ec0ef7f98a HTTP/1.1
+> Soup-Debug-Timestamp: 1415490478
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 7 (0x1ce9670), SoupSocket 4 (0x1e32b70)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANYAAAAWvJzyD2J6d8-v1A-RQD2CZTFj0cXmZR5bhO3uJZYudiF6fHFDR_cHNwZtRrJtSgV87AW-TE_m-GQ4qhW8JBqLxAf_sJm20_8TtptsoN0SC0d9j-MJPc5QimHpp1nfIWrM5Ni9qmSQqpgB_vxH0KMXVyaC88nkQel0Hcz4U8Z4oH1Msd-XmDhGIlcgrWsKIiF0Mx4eOgsS8ces49E_U9HBXETdKHsFFg50rkU9wq6qx_eL7bzeTmra421N8QrAzP48g_zKQdSGmAEIs3ujmXW8mQCrmL0TGUhGuJBDqRyWqg
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
-> If-Match: "Ug8gAXAjSit7I2BBEEQJSjFPBQwfNDlxbxc."
+> If-Match: "SQpAMGkCSit7I2BKMH8LVi5COFsJDFglViY."
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375362507
-< Soup-Debug: SoupMessage 44 (0x7fffd8012c70)
+< Soup-Debug-Timestamp: 1415490478
+< Soup-Debug: SoupMessage 7 (0x1ce9670)
 < GData-Version: 3.1
-< Date: Thu, 01 Aug 2013 13:08:27 GMT
-< Expires: Thu, 01 Aug 2013 13:08:27 GMT
-< Cache-control: private, max-age=0
+< Date: Sat, 08 Nov 2014 23:47:58 GMT
+< Expires: Sat, 08 Nov 2014 23:47:58 GMT
+< Cache-Control: private, max-age=0
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Content-Length: 0
 < Server: GSE
 < Content-Type: text/html; charset=UTF-8
+< Alternate-Protocol: 443:quic,p=0.01
 < 
   
diff --git a/gdata/tests/traces/contacts/photo_get-async b/gdata/tests/traces/contacts/photo_get-async
index 1004407..6c9ed67 100644
--- a/gdata/tests/traces/contacts/photo_get-async
+++ b/gdata/tests/traces/contacts/photo_get-async
@@ -1,27 +1,29 @@
-> GET /m8/feeds/photos/media/libgdata.test%40googlemail.com/465577d88b0afee8 HTTP/1.1
-> Soup-Debug-Timestamp: 1375362461
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 30 (0x7fffe003ce40), SoupSocket 8 (0x8d7d60)
+> GET /m8/feeds/photos/media/libgdata.test%40googlemail.com/c8390ec0ef7f98a HTTP/1.1
+> Soup-Debug-Timestamp: 1415489693
+> Soup-Debug: SoupSession 1 (0x15cd240), SoupMessage 71 (0x182f640), SoupSocket 28 (0x7ff42c01e9a0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANYAAAAWvJzyD2J6d8-v1A-RQD2CZTFj0cXmZR5bhO3uJZYudiF6fHFDR_cHNwZtRrJtSgV87AW-TE_m-GQ4qhW8JBqLxAf_sJm20_8TtptsoN0SC0d9j-MJPc5QimHpp1nfIWrM5Ni9qmSQqpgB_vxH0KMXVyaC88nkQel0Hcz4U8Z4oH1Msd-XmDhGIlcgrWsKIiF0Mx4eOgsS8ces49E_U9HBXETdKHsFFg50rkU9wq6qx_eL7bzeTmra421N8QrAzP48g_zKQdSGmAEIs3ujmXW8mQCrmL0TGUhGuJBDqRyWqg
+> Authorization: Bearer ya29.uACgkznYPDckPkHNMU2MF2gRNGrNKqsjnalf5jZmQ0jV9jcp297YMiQop53msSbUJi5poX8LolhsSw
GData-Version: 3
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375362461
-< Soup-Debug: SoupMessage 30 (0x7fffe003ce40)
+< Soup-Debug-Timestamp: 1415489693
+< Soup-Debug: SoupMessage 71 (0x182f640)
 < Content-Type: image/jpeg
-< Expires: Thu, 01 Aug 2013 13:07:41 GMT
-< Date: Thu, 01 Aug 2013 13:07:41 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
+< Expires: Sat, 08 Nov 2014 23:34:53 GMT
+< Date: Sat, 08 Nov 2014 23:34:53 GMT
+< Cache-Control: private, max-age=0, must-revalidate, no-transform
 < Vary: Accept, X-GData-Authorization, GData-Version
 < GData-Version: 3.1
-< ETag: "VA1zYFIFWit7I2BUEVQUegRNQ3Y_Fl0Df1s."
+< ETag: "dwpQD1cTfCt7I2B7XXUrWRhsEQAQKWElSDA."
 < Transfer-Encoding: chunked
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Alternate-Protocol: 443:quic,p=0.01
 < 
 < ����
   
diff --git a/gdata/tests/traces/contacts/photo_get-async-cancellation 
b/gdata/tests/traces/contacts/photo_get-async-cancellation
index 307e66f..42d24ea 100644
--- a/gdata/tests/traces/contacts/photo_get-async-cancellation
+++ b/gdata/tests/traces/contacts/photo_get-async-cancellation
@@ -1,27 +1,29 @@
-> GET /m8/feeds/photos/media/libgdata.test%40googlemail.com/465577d88b0afee8 HTTP/1.1
-> Soup-Debug-Timestamp: 1375362484
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 38 (0x7fffd8012a90), SoupSocket 11 (0x8d7e20)
+> GET /m8/feeds/photos/media/libgdata.test%40googlemail.com/c8390ec0ef7f98a HTTP/1.1
+> Soup-Debug-Timestamp: 1415489717
+> Soup-Debug: SoupSession 1 (0x15cd240), SoupMessage 79 (0x7ff430010990), SoupSocket 31 (0x7ff42c01e9a0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANYAAAAWvJzyD2J6d8-v1A-RQD2CZTFj0cXmZR5bhO3uJZYudiF6fHFDR_cHNwZtRrJtSgV87AW-TE_m-GQ4qhW8JBqLxAf_sJm20_8TtptsoN0SC0d9j-MJPc5QimHpp1nfIWrM5Ni9qmSQqpgB_vxH0KMXVyaC88nkQel0Hcz4U8Z4oH1Msd-XmDhGIlcgrWsKIiF0Mx4eOgsS8ces49E_U9HBXETdKHsFFg50rkU9wq6qx_eL7bzeTmra421N8QrAzP48g_zKQdSGmAEIs3ujmXW8mQCrmL0TGUhGuJBDqRyWqg
+> Authorization: Bearer ya29.uACgkznYPDckPkHNMU2MF2gRNGrNKqsjnalf5jZmQ0jV9jcp297YMiQop53msSbUJi5poX8LolhsSw
GData-Version: 3
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375362484
-< Soup-Debug: SoupMessage 38 (0x7fffd8012a90)
+< Soup-Debug-Timestamp: 1415489717
+< Soup-Debug: SoupMessage 79 (0x7ff430010990)
 < Content-Type: image/jpeg
-< Expires: Thu, 01 Aug 2013 13:08:04 GMT
-< Date: Thu, 01 Aug 2013 13:08:04 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
+< Expires: Sat, 08 Nov 2014 23:35:17 GMT
+< Date: Sat, 08 Nov 2014 23:35:17 GMT
+< Cache-Control: private, max-age=0, must-revalidate, no-transform
 < Vary: Accept, X-GData-Authorization, GData-Version
 < GData-Version: 3.1
-< ETag: "cG9-DmMFfCt7I2BtXU1XFBwMAHUoK1h4YCs."
+< ETag: "XCl1GngxWit7I2B7GVNaSw1DDwQjC2UENjM."
 < Transfer-Encoding: chunked
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Alternate-Protocol: 443:quic,p=0.01
 < 
 < ����
   
diff --git a/gdata/tests/traces/contacts/query-all-contacts b/gdata/tests/traces/contacts/query-all-contacts
index 6946035..a8bc8e1 100644
--- a/gdata/tests/traces/contacts/query-all-contacts
+++ b/gdata/tests/traces/contacts/query-all-contacts
@@ -1,28 +1,373 @@
GET /m8/feeds/contacts/default/full HTTP/1.1
-> Soup-Debug-Timestamp: 1375253717
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 10 (0x7d28c0), SoupSocket 5 (0x72a550)
+> Soup-Debug-Timestamp: 1415489550
+> Soup-Debug: SoupSession 1 (0x15cd240), SoupMessage 13 (0x182f280), SoupSocket 8 (0x18d59a0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAAXK6VbKHFb8MrY8VDDk8TplfYU8Pl8OJ_JDJA5Ku7Q1SXgGXmiXXNSumd183YRnbThEZBRN5nYygedI2kQsVKzOFACPFEPo7ShQaRGycnxE3GLDfmMWN_zc43HzWPka0-WgOvpmqpxLFWh0EYyD3pF7Yebk_jLBxJEBWU9v8FZrljhbtK-g4kiiBeuNs4kYYLTu-vF7GCSIcSC2WuHSkxI091viwmbQhZY_6fi_MaY_qgOPss9HlAHeJ543JSjtRmsVtK_4aNWbmaz9VcCr9lXEksu1dUTvroRvtlr8XyvOg
+> Authorization: Bearer ya29.uACgkznYPDckPkHNMU2MF2gRNGrNKqsjnalf5jZmQ0jV9jcp297YMiQop53msSbUJi5poX8LolhsSw
GData-Version: 3
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375253717
-< Soup-Debug: SoupMessage 10 (0x7d28c0)
-< Content-Type: application/atom+xml; charset=UTF-8; type=feed
-< Expires: Wed, 31 Jul 2013 06:55:17 GMT
-< Date: Wed, 31 Jul 2013 06:55:17 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
-< Vary: Accept, X-GData-Authorization, GData-Version
-< GData-Version: 3.1
-< ETag: W/"CUAFRn4zfit7I2A9WhFWEkg."
-< Last-Modified: Wed, 31 Jul 2013 06:55:17 GMT
+< Soup-Debug-Timestamp: 1415489550
+< Soup-Debug: SoupMessage 13 (0x182f280)
+< Expires: Sat, 08 Nov 2014 23:32:30 GMT
+< Date: Sat, 08 Nov 2014 23:32:30 GMT
+< Cache-Control: private, max-age=0, must-revalidate, no-transform
+< ETag: "QXk_cDVSLyt7I2A9XRdWFEUDQgE."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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' gd:etag='W/&quot;CUAFRn4zfit7I2A9WhFWEkg.&quot;'><id>libgdata 
test googlemail com</id><updated>2013-07-31T06:55:17.086Z</updated><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#contact'/><title>GData Test's Contacts</title><link 
rel='alternate' type='text/html' href='http://www.google.com/'/><link 
rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full'/><link 
rel='http://schemas.google.com/g/2005#post' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full'/><link 
rel='http://schemas.
 google.com/g/2005#batch' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/batch'/><link rel='self' 
type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full?max-results=25'/><author><name>GData
 Test</name><email>libgdata test googlemail com</email></author><generator version='1.0' 
uri='http://www.google.com/m8/feeds'>Contacts</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry
 
gd:etag='&quot;QH86cDVSLit7I2A9WhFWEkgJQAU.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/1660ed0d098026ce</id><updated>2013-07-31T06:55:11.118Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-07-31T06:55:11.118Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/con
 tact/2008#contact'/><title></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/1660ed0d098026ce'/><link 
rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1660ed0d098026ce'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1660ed0d098026ce'/><gContact:nickname>Test
 Contact 1</gContact:nickname></entry><entry 
gd:etag='&quot;QHo5eTVSLit7I2A9WhFWEkgJQAU.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/359e540f0902d2fd</id><updated>2013-07-31T06:55:11.421Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-07-31T06:55:11.421Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#contact'/><title></title><lin
 k rel='http://schemas.google.com/contacts/2008/rel#photo' type='image/*' 
href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/359e540f0902d2fd'/><link 
rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/359e540f0902d2fd'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/359e540f0902d2fd'/><gContact:nickname>Test
 Contact 2</gContact:nickname></entry><entry 
gd:etag='&quot;QHY4fDVSLyt7I2A9WhFWEkgJQAU.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/667e01988b79ac61</id><updated>2013-07-31T06:55:11.834Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-07-31T06:55:11.834Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#contact'/><title></title><link 
rel='http://schemas.google.com/contac
 ts/2008/rel#photo' type='image/*' 
href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/667e01988b79ac61'/><link 
rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/667e01988b79ac61'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/667e01988b79ac61'/><gContact:nickname>Test
 Contact 3</gContact:nickname></entry></feed>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <feed gd:etag="&quot;QXk_cDVSLyt7I2A9XRdWFEUDQgE.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005"; xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/";>
+<  <id>libgdata test googlemail com</id>
+<  <updated>2014-11-08T23:32:30.748Z</updated>
+<  <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<  <title>GData Test's Contacts</title>
+<  <link rel="alternate" type="text/html" href="https://www.google.com/"/>
+<  <link rel="http://schemas.google.com/g/2005#feed"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full"/>
+<  <link rel="http://schemas.google.com/g/2005#post"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full"/>
+<  <link rel="http://schemas.google.com/g/2005#batch"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/batch"/>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full?max-results=25"/>
+<  <author>
+<   <name>GData Test</name>
+<   <email>libgdata test googlemail com</email>
+<  </author>
+<  <generator version="1.0" uri="http://www.google.com/m8/feeds";>Contacts</generator>
+<  <openSearch:totalResults>16</openSearch:totalResults>
+<  <openSearch:startIndex>1</openSearch:startIndex>
+<  <openSearch:itemsPerPage>25</openSearch:itemsPerPage>
+<  <entry gd:etag="&quot;Q3gzejVSLyt7I2A9Wh9XGUwCQAY.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/a86b08c4621c7</id>
+<   <updated>2014-03-15T21:25:22.682Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:25:22.682Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>AA</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/a86b08c4621c7"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/a86b08c4621c7"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/a86b08c4621c7"/>
+<   <gd:name>
+<    <gd:fullName>AA</gd:fullName>
+<    <gd:givenName>AA</gd:givenName>
+<   </gd:name>
+<   <gContact:fileAs>AA</gContact:fileAs>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/5a5615828e8c12dc"/>
+<   <gd:extendedProperty name="X-MOZILLA-HTML">FALSE</gd:extendedProperty>
+<  </entry>
+<  <entry gd:etag="&quot;RHc4fzVSLit7I2A9Wh9VF0oPQAU.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/1848d1b50ceff503</id>
+<   <updated>2014-04-06T09:15:15.937Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-04-06T09:15:15.937Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>Test Mcfoobar</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/1848d1b50ceff503"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1848d1b50ceff503"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1848d1b50ceff503"/>
+<   <gd:name>
+<    <gd:fullName>Test Mcfoobar</gd:fullName>
+<    <gd:givenName>Test</gd:givenName>
+<    <gd:familyName>Mcfoobar</gd:familyName>
+<   </gd:name>
+<   <gContact:fileAs>Mcfoobar, Test</gContact:fileAs>
+<   <gd:email rel="http://schemas.google.com/g/2005#work"; address="test1 example com" primary="true"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<   <gd:extendedProperty name="X-MOZILLA-HTML">FALSE</gd:extendedProperty>
+<  </entry>
+<  <entry gd:etag="&quot;R34zezVSLit7I2A9XRdWFEUDRQY.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/186ec44a0fc1ca9d</id>
+<   <updated>2014-11-08T23:27:06.083Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:27:06.083Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>John Wilson</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/186ec44a0fc1ca9d"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/186ec44a0fc1ca9d"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/186ec44a0fc1ca9d"/>
+<   <gd:name>
+<    <gd:fullName>John Wilson</gd:fullName>
+<    <gd:givenName>John</gd:givenName>
+<    <gd:familyName>Wilson</gd:familyName>
+<   </gd:name>
+<   <gContact:nickname>Test Contact Esq.</gContact:nickname>
+<   <gd:extendedProperty name="contact-test">value</gd:extendedProperty>
+<  </entry>
+<  <entry gd:etag="&quot;RH05ezVSLit7I2A9XRdWFEUDQgA.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/1a7e535488e850f7</id>
+<   <updated>2014-11-08T23:32:25.323Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:32:25.323Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <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/1a7e535488e850f7"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1a7e535488e850f7"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1a7e535488e850f7"/>
+<   <gContact:nickname>Test Contact 3</gContact:nickname>
+<  </entry>
+<  <entry gd:etag="&quot;RX0-cDVSLit7I2A9XRdWFEUDRgE.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/1ebe29f48b9167e1</id>
+<   <updated>2014-11-08T23:25:54.358Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:25:54.358Z</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/1ebe29f48b9167e1"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1ebe29f48b9167e1"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1ebe29f48b9167e1"/>
+<   <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:initials>A. B. C.</gContact:initials>
+<   <gContact:shortName>Jon</gContact:shortName>
+<   <gContact:maidenName>Smith</gContact:maidenName>
+<   <gContact:gender value="male"/>
+<   <gContact:birthday when="--01-01"/>
+<   <gContact:occupation>Professional bum</gContact:occupation>
+<   <gContact:billingInformation>Big J Enterprises, Ltd.</gContact:billingInformation>
+<   <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 rel="http://schemas.google.com/g/2005#work"; primary="true">
+<    <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 primary="true" href="http://calendar.example.com/"; 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>
+<  <entry gd:etag="&quot;QH48fzVSLit7I2A9XRdWFEUDQgc.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/1fe897fa0c51ed2c</id>
+<   <updated>2014-11-08T23:32:11.077Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:32:11.077Z</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/1fe897fa0c51ed2c"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1fe897fa0c51ed2c"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1fe897fa0c51ed2c"/>
+<   <gd:name>
+<    <gd:fullName>Toby</gd:fullName>
+<    <gd:givenName>Brian</gd:givenName>
+<   </gd:name>
+<  </entry>
+<  <entry gd:etag="&quot;Qn0zcDVSLit7I2A9Wh9XGUwCQAA.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/2f943d4789cb93a9</id>
+<   <updated>2014-03-15T21:25:43.388Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:25:43.388Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>AAA</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/2f943d4789cb93a9"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/2f943d4789cb93a9"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/2f943d4789cb93a9"/>
+<   <gd:name>
+<    <gd:fullName>AAA</gd:fullName>
+<    <gd:givenName>AAA</gd:givenName>
+<   </gd:name>
+<   <gContact:fileAs>AAA</gContact:fileAs>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/7b25d4e38c3f32b5"/>
+<   <gd:extendedProperty name="X-MOZILLA-HTML">FALSE</gd:extendedProperty>
+<  </entry>
+<  <entry gd:etag="&quot;SX89cTVSLit7I2A9Wh9XGUwCQg0.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/3531fe820d6801f3</id>
+<   <updated>2014-03-15T21:23:18.169Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:23:18.169Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>AAAA</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/3531fe820d6801f3"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/3531fe820d6801f3"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/3531fe820d6801f3"/>
+<   <gd:name>
+<    <gd:fullName>AAAA</gd:fullName>
+<    <gd:givenName>AAAA</gd:givenName>
+<   </gd:name>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/115d0c4d0cd6f616"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<  </entry>
+<  <entry gd:etag="&quot;RXY5fDVSLit7I2A9XRdWFEUCTgc.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/37c76f0508bed31f</id>
+<   <updated>2014-11-08T23:22:14.824Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:22:14.824Z</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/37c76f0508bed31f"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/37c76f0508bed31f"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/37c76f0508bed31f"/>
+<   <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:initials>A. B. C.</gContact:initials>
+<   <gContact:shortName>Jon</gContact:shortName>
+<   <gContact:maidenName>Smith</gContact:maidenName>
+<   <gContact:gender value="male"/>
+<   <gContact:birthday when="--01-01"/>
+<   <gContact:occupation>Professional bum</gContact:occupation>
+<   <gContact:billingInformation>Big J Enterprises, Ltd.</gContact:billingInformation>
+<   <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 rel="http://schemas.google.com/g/2005#work"; primary="true">
+<    <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 primary="true" href="http://calendar.example.com/"; 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>
+<  <entry gd:etag="&quot;Rns7eDVSLyt7I2A9Wh9XGUwCQAI.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/3b0b0e8c8d6c81ef</id>
+<   <updated>2014-03-15T21:26:07.500Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:26:07.500Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>AAAAA</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/3b0b0e8c8d6c81ef"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/3b0b0e8c8d6c81ef"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/3b0b0e8c8d6c81ef"/>
+<   <gd:name>
+<    <gd:fullName>AAAAA</gd:fullName>
+<    <gd:givenName>AAAAA</gd:givenName>
+<   </gd:name>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/5aa4ff9a0de39ade"/>
+<  </entry>
+<  <entry gd:etag="&quot;RXs4ejVSLit7I2A9XRdWFEUDRQU.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/415b6675090874ea</id>
+<   <updated>2014-11-08T23:26:54.532Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:26:54.532Z</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/415b6675090874ea"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/415b6675090874ea"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/415b6675090874ea"/>
+<   <gd:name>
+<    <gd:fullName>Toby</gd:fullName>
+<    <gd:givenName>Brian</gd:givenName>
+<   </gd:name>
+<  </entry>
+<  <entry gd:etag="&quot;Qnc4fjVSLit7I2A9XRdWFEUCTgc.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/505ad8890cd2744a</id>
+<   <updated>2014-11-08T23:22:13.936Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:22:13.936Z</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/505ad8890cd2744a"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/505ad8890cd2744a"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/505ad8890cd2744a"/>
+<   <gd:name>
+<    <gd:fullName>Toby</gd:fullName>
+<    <gd:givenName>Brian</gd:givenName>
+<   </gd:name>
+<  </entry>
+<  <entry gd:etag="&quot;RX88ezVSLit7I2A9XRdWFEUDQgA.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/5210ae648a3eda72</id>
+<   <updated>2014-11-08T23:32:24.173Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:32:24.173Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <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/5210ae648a3eda72"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/5210ae648a3eda72"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/5210ae648a3eda72"/>
+<   <gContact:nickname>Test Contact 1</gContact:nickname>
+<  </entry>
+<  <entry gd:etag="&quot;RXk_ezVSLit7I2A9XRdWFEUDQgA.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/55877e440b373bc7</id>
+<   <updated>2014-11-08T23:32:24.743Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:32:24.743Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <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/55877e440b373bc7"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/55877e440b373bc7"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/55877e440b373bc7"/>
+<   <gContact:nickname>Test Contact 2</gContact:nickname>
+<  </entry>
+<  <entry gd:etag="&quot;QnY4fDVSLyt7I2A9XRdWFEUDRgE.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/65834f618a9f8743</id>
+<   <updated>2014-11-08T23:25:53.834Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:25:53.834Z</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/65834f618a9f8743"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/65834f618a9f8743"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/65834f618a9f8743"/>
+<   <gd:name>
+<    <gd:fullName>Toby</gd:fullName>
+<    <gd:givenName>Brian</gd:givenName>
+<   </gd:name>
+<  </entry>
+<  <entry gd:etag="&quot;Rn4-ezVSLit7I2A9Wh9XGUwCQgw.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/6754f9cf8cbc042d</id>
+<   <updated>2014-03-15T21:23:07.053Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:23:07.053Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>A</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/6754f9cf8cbc042d"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/6754f9cf8cbc042d"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/6754f9cf8cbc042d"/>
+<   <gd:name>
+<    <gd:fullName>A</gd:fullName>
+<    <gd:givenName>A</gd:givenName>
+<   </gd:name>
+<   <gContact:fileAs>A</gContact:fileAs>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/4558a0fc0f98a74a"/>
+<   <gd:extendedProperty name="X-MOZILLA-HTML">FALSE</gd:extendedProperty>
+<  </entry>
+< </feed>
   
diff --git a/gdata/tests/traces/contacts/query-all-contacts-async-progress-closure 
b/gdata/tests/traces/contacts/query-all-contacts-async-progress-closure
index b33af77..e2b7676 100644
--- a/gdata/tests/traces/contacts/query-all-contacts-async-progress-closure
+++ b/gdata/tests/traces/contacts/query-all-contacts-async-progress-closure
@@ -1,28 +1,373 @@
GET /m8/feeds/contacts/default/full HTTP/1.1
-> Soup-Debug-Timestamp: 1375253740
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 33 (0x7fffe0026660), SoupSocket 16 (0x7fffe0028190)
+> Soup-Debug-Timestamp: 1415489574
+> Soup-Debug: SoupSession 1 (0x15cd240), SoupMessage 36 (0x7ff43800ed50), SoupSocket 18 (0x7ff438057cc0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAAXK6VbKHFb8MrY8VDDk8TplfYU8Pl8OJ_JDJA5Ku7Q1SXgGXmiXXNSumd183YRnbThEZBRN5nYygedI2kQsVKzOFACPFEPo7ShQaRGycnxE3GLDfmMWN_zc43HzWPka0-WgOvpmqpxLFWh0EYyD3pF7Yebk_jLBxJEBWU9v8FZrljhbtK-g4kiiBeuNs4kYYLTu-vF7GCSIcSC2WuHSkxI091viwmbQhZY_6fi_MaY_qgOPss9HlAHeJ543JSjtRmsVtK_4aNWbmaz9VcCr9lXEksu1dUTvroRvtlr8XyvOg
+> Authorization: Bearer ya29.uACgkznYPDckPkHNMU2MF2gRNGrNKqsjnalf5jZmQ0jV9jcp297YMiQop53msSbUJi5poX8LolhsSw
GData-Version: 3
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375253740
-< Soup-Debug: SoupMessage 33 (0x7fffe0026660)
-< Content-Type: application/atom+xml; charset=UTF-8; type=feed
-< Expires: Wed, 31 Jul 2013 06:55:40 GMT
-< Date: Wed, 31 Jul 2013 06:55:40 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
-< Vary: Accept, X-GData-Authorization, GData-Version
-< GData-Version: 3.1
-< ETag: W/"CUAAQX8-eit7I2A9WhFWEkg."
-< Last-Modified: Wed, 31 Jul 2013 06:55:40 GMT
+< Soup-Debug-Timestamp: 1415489575
+< Soup-Debug: SoupMessage 36 (0x7ff43800ed50)
+< Expires: Sat, 08 Nov 2014 23:32:55 GMT
+< Date: Sat, 08 Nov 2014 23:32:55 GMT
+< Cache-Control: private, max-age=0, must-revalidate, no-transform
+< ETag: "RH89eTVSLyt7I2A9XRdWFEUDQgM."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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' gd:etag='W/&quot;CUAAQX8-eit7I2A9WhFWEkg.&quot;'><id>libgdata 
test googlemail com</id><updated>2013-07-31T06:55:40.152Z</updated><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#contact'/><title>GData Test's Contacts</title><link 
rel='alternate' type='text/html' href='http://www.google.com/'/><link 
rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full'/><link 
rel='http://schemas.google.com/g/2005#post' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full'/><link 
rel='http://schemas.
 google.com/g/2005#batch' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/batch'/><link rel='self' 
type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full?max-results=25'/><author><name>GData
 Test</name><email>libgdata test googlemail com</email></author><generator version='1.0' 
uri='http://www.google.com/m8/feeds'>Contacts</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry
 
gd:etag='&quot;RXw9fjVSLit7I2A9WhFWEkgJQAc.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/169313448d21bd4c</id><updated>2013-07-31T06:55:34.266Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-07-31T06:55:34.266Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/con
 tact/2008#contact'/><title></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/169313448d21bd4c'/><link 
rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/169313448d21bd4c'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/169313448d21bd4c'/><gContact:nickname>Test
 Contact 1</gContact:nickname></entry><entry 
gd:etag='&quot;RXg_eDVSLit7I2A9WhFWEkgJQAc.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/436c264a097a0e67</id><updated>2013-07-31T06:55:34.640Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-07-31T06:55:34.640Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#contact'/><title></title><lin
 k rel='http://schemas.google.com/contacts/2008/rel#photo' type='image/*' 
href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/436c264a097a0e67'/><link 
rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/436c264a097a0e67'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/436c264a097a0e67'/><gContact:nickname>Test
 Contact 2</gContact:nickname></entry><entry 
gd:etag='&quot;RXc7cDVSLit7I2A9WhFWEkgJQAc.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/4e3d4cd30d411fa8</id><updated>2013-07-31T06:55:34.908Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-07-31T06:55:34.908Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#contact'/><title></title><link 
rel='http://schemas.google.com/contac
 ts/2008/rel#photo' type='image/*' 
href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/4e3d4cd30d411fa8'/><link 
rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/4e3d4cd30d411fa8'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/4e3d4cd30d411fa8'/><gContact:nickname>Test
 Contact 3</gContact:nickname></entry></feed>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <feed gd:etag="&quot;RH89eTVSLyt7I2A9XRdWFEUDQgM.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005"; xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/";>
+<  <id>libgdata test googlemail com</id>
+<  <updated>2014-11-08T23:32:55.161Z</updated>
+<  <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<  <title>GData Test's Contacts</title>
+<  <link rel="alternate" type="text/html" href="https://www.google.com/"/>
+<  <link rel="http://schemas.google.com/g/2005#feed"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full"/>
+<  <link rel="http://schemas.google.com/g/2005#post"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full"/>
+<  <link rel="http://schemas.google.com/g/2005#batch"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/batch"/>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full?max-results=25"/>
+<  <author>
+<   <name>GData Test</name>
+<   <email>libgdata test googlemail com</email>
+<  </author>
+<  <generator version="1.0" uri="http://www.google.com/m8/feeds";>Contacts</generator>
+<  <openSearch:totalResults>16</openSearch:totalResults>
+<  <openSearch:startIndex>1</openSearch:startIndex>
+<  <openSearch:itemsPerPage>25</openSearch:itemsPerPage>
+<  <entry gd:etag="&quot;Q3gzejVSLyt7I2A9Wh9XGUwCQAY.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/a86b08c4621c7</id>
+<   <updated>2014-03-15T21:25:22.682Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:25:22.682Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>AA</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/a86b08c4621c7"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/a86b08c4621c7"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/a86b08c4621c7"/>
+<   <gd:name>
+<    <gd:fullName>AA</gd:fullName>
+<    <gd:givenName>AA</gd:givenName>
+<   </gd:name>
+<   <gContact:fileAs>AA</gContact:fileAs>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/5a5615828e8c12dc"/>
+<   <gd:extendedProperty name="X-MOZILLA-HTML">FALSE</gd:extendedProperty>
+<  </entry>
+<  <entry gd:etag="&quot;SXY_fjVSLit7I2A9XRdWFEUDQgI.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/10ba35c58c59d676</id>
+<   <updated>2014-11-08T23:32:48.846Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:32:48.846Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <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/10ba35c58c59d676"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/10ba35c58c59d676"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/10ba35c58c59d676"/>
+<   <gContact:nickname>Test Contact 2</gContact:nickname>
+<  </entry>
+<  <entry gd:etag="&quot;RHc4fzVSLit7I2A9Wh9VF0oPQAU.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/1848d1b50ceff503</id>
+<   <updated>2014-04-06T09:15:15.937Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-04-06T09:15:15.937Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>Test Mcfoobar</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/1848d1b50ceff503"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1848d1b50ceff503"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1848d1b50ceff503"/>
+<   <gd:name>
+<    <gd:fullName>Test Mcfoobar</gd:fullName>
+<    <gd:givenName>Test</gd:givenName>
+<    <gd:familyName>Mcfoobar</gd:familyName>
+<   </gd:name>
+<   <gContact:fileAs>Mcfoobar, Test</gContact:fileAs>
+<   <gd:email rel="http://schemas.google.com/g/2005#work"; address="test1 example com" primary="true"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<   <gd:extendedProperty name="X-MOZILLA-HTML">FALSE</gd:extendedProperty>
+<  </entry>
+<  <entry gd:etag="&quot;R34zezVSLit7I2A9XRdWFEUDRQY.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/186ec44a0fc1ca9d</id>
+<   <updated>2014-11-08T23:27:06.083Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:27:06.083Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>John Wilson</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/186ec44a0fc1ca9d"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/186ec44a0fc1ca9d"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/186ec44a0fc1ca9d"/>
+<   <gd:name>
+<    <gd:fullName>John Wilson</gd:fullName>
+<    <gd:givenName>John</gd:givenName>
+<    <gd:familyName>Wilson</gd:familyName>
+<   </gd:name>
+<   <gContact:nickname>Test Contact Esq.</gContact:nickname>
+<   <gd:extendedProperty name="contact-test">value</gd:extendedProperty>
+<  </entry>
+<  <entry gd:etag="&quot;RX0-cDVSLit7I2A9XRdWFEUDRgE.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/1ebe29f48b9167e1</id>
+<   <updated>2014-11-08T23:25:54.358Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:25:54.358Z</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/1ebe29f48b9167e1"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1ebe29f48b9167e1"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1ebe29f48b9167e1"/>
+<   <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:initials>A. B. C.</gContact:initials>
+<   <gContact:shortName>Jon</gContact:shortName>
+<   <gContact:maidenName>Smith</gContact:maidenName>
+<   <gContact:gender value="male"/>
+<   <gContact:birthday when="--01-01"/>
+<   <gContact:occupation>Professional bum</gContact:occupation>
+<   <gContact:billingInformation>Big J Enterprises, Ltd.</gContact:billingInformation>
+<   <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 rel="http://schemas.google.com/g/2005#work"; primary="true">
+<    <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 primary="true" href="http://calendar.example.com/"; 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>
+<  <entry gd:etag="&quot;SXszcTVSLit7I2A9XRdWFEUDQgI.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/1fb657e58c9a2eb9</id>
+<   <updated>2014-11-08T23:32:48.589Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:32:48.589Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <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/1fb657e58c9a2eb9"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1fb657e58c9a2eb9"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1fb657e58c9a2eb9"/>
+<   <gContact:nickname>Test Contact 1</gContact:nickname>
+<  </entry>
+<  <entry gd:etag="&quot;QH48fzVSLit7I2A9XRdWFEUDQgc.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/1fe897fa0c51ed2c</id>
+<   <updated>2014-11-08T23:32:11.077Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:32:11.077Z</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/1fe897fa0c51ed2c"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1fe897fa0c51ed2c"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1fe897fa0c51ed2c"/>
+<   <gd:name>
+<    <gd:fullName>Toby</gd:fullName>
+<    <gd:givenName>Brian</gd:givenName>
+<   </gd:name>
+<  </entry>
+<  <entry gd:etag="&quot;Qn0zcDVSLit7I2A9Wh9XGUwCQAA.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/2f943d4789cb93a9</id>
+<   <updated>2014-03-15T21:25:43.388Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:25:43.388Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>AAA</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/2f943d4789cb93a9"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/2f943d4789cb93a9"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/2f943d4789cb93a9"/>
+<   <gd:name>
+<    <gd:fullName>AAA</gd:fullName>
+<    <gd:givenName>AAA</gd:givenName>
+<   </gd:name>
+<   <gContact:fileAs>AAA</gContact:fileAs>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/7b25d4e38c3f32b5"/>
+<   <gd:extendedProperty name="X-MOZILLA-HTML">FALSE</gd:extendedProperty>
+<  </entry>
+<  <entry gd:etag="&quot;SX89cTVSLit7I2A9Wh9XGUwCQg0.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/3531fe820d6801f3</id>
+<   <updated>2014-03-15T21:23:18.169Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:23:18.169Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>AAAA</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/3531fe820d6801f3"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/3531fe820d6801f3"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/3531fe820d6801f3"/>
+<   <gd:name>
+<    <gd:fullName>AAAA</gd:fullName>
+<    <gd:givenName>AAAA</gd:givenName>
+<   </gd:name>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/115d0c4d0cd6f616"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<  </entry>
+<  <entry gd:etag="&quot;RXY5fDVSLit7I2A9XRdWFEUCTgc.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/37c76f0508bed31f</id>
+<   <updated>2014-11-08T23:22:14.824Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:22:14.824Z</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/37c76f0508bed31f"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/37c76f0508bed31f"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/37c76f0508bed31f"/>
+<   <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:initials>A. B. C.</gContact:initials>
+<   <gContact:shortName>Jon</gContact:shortName>
+<   <gContact:maidenName>Smith</gContact:maidenName>
+<   <gContact:gender value="male"/>
+<   <gContact:birthday when="--01-01"/>
+<   <gContact:occupation>Professional bum</gContact:occupation>
+<   <gContact:billingInformation>Big J Enterprises, Ltd.</gContact:billingInformation>
+<   <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 rel="http://schemas.google.com/g/2005#work"; primary="true">
+<    <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 primary="true" href="http://calendar.example.com/"; 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>
+<  <entry gd:etag="&quot;Rns7eDVSLyt7I2A9Wh9XGUwCQAI.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/3b0b0e8c8d6c81ef</id>
+<   <updated>2014-03-15T21:26:07.500Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:26:07.500Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>AAAAA</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/3b0b0e8c8d6c81ef"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/3b0b0e8c8d6c81ef"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/3b0b0e8c8d6c81ef"/>
+<   <gd:name>
+<    <gd:fullName>AAAAA</gd:fullName>
+<    <gd:givenName>AAAAA</gd:givenName>
+<   </gd:name>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/5aa4ff9a0de39ade"/>
+<  </entry>
+<  <entry gd:etag="&quot;RXs4ejVSLit7I2A9XRdWFEUDRQU.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/415b6675090874ea</id>
+<   <updated>2014-11-08T23:26:54.532Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:26:54.532Z</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/415b6675090874ea"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/415b6675090874ea"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/415b6675090874ea"/>
+<   <gd:name>
+<    <gd:fullName>Toby</gd:fullName>
+<    <gd:givenName>Brian</gd:givenName>
+<   </gd:name>
+<  </entry>
+<  <entry gd:etag="&quot;Qnc4fjVSLit7I2A9XRdWFEUCTgc.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/505ad8890cd2744a</id>
+<   <updated>2014-11-08T23:22:13.936Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:22:13.936Z</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/505ad8890cd2744a"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/505ad8890cd2744a"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/505ad8890cd2744a"/>
+<   <gd:name>
+<    <gd:fullName>Toby</gd:fullName>
+<    <gd:givenName>Brian</gd:givenName>
+<   </gd:name>
+<  </entry>
+<  <entry gd:etag="&quot;SHo5fTVSLSt7I2A9XRdWFEUDQgI.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/5997be300d23115b</id>
+<   <updated>2014-11-08T23:32:49.425Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:32:49.425Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <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/5997be300d23115b"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/5997be300d23115b"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/5997be300d23115b"/>
+<   <gContact:nickname>Test Contact 3</gContact:nickname>
+<  </entry>
+<  <entry gd:etag="&quot;QnY4fDVSLyt7I2A9XRdWFEUDRgE.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/65834f618a9f8743</id>
+<   <updated>2014-11-08T23:25:53.834Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:25:53.834Z</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/65834f618a9f8743"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/65834f618a9f8743"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/65834f618a9f8743"/>
+<   <gd:name>
+<    <gd:fullName>Toby</gd:fullName>
+<    <gd:givenName>Brian</gd:givenName>
+<   </gd:name>
+<  </entry>
+<  <entry gd:etag="&quot;Rn4-ezVSLit7I2A9Wh9XGUwCQgw.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/6754f9cf8cbc042d</id>
+<   <updated>2014-03-15T21:23:07.053Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:23:07.053Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>A</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/6754f9cf8cbc042d"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/6754f9cf8cbc042d"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/6754f9cf8cbc042d"/>
+<   <gd:name>
+<    <gd:fullName>A</gd:fullName>
+<    <gd:givenName>A</gd:givenName>
+<   </gd:name>
+<   <gContact:fileAs>A</gContact:fileAs>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/4558a0fc0f98a74a"/>
+<   <gd:extendedProperty name="X-MOZILLA-HTML">FALSE</gd:extendedProperty>
+<  </entry>
+< </feed>
   
diff --git a/gdata/tests/traces/contacts/query-all-groups b/gdata/tests/traces/contacts/query-all-groups
index 7d1c9f6..a7a5b5c 100644
--- a/gdata/tests/traces/contacts/query-all-groups
+++ b/gdata/tests/traces/contacts/query-all-groups
@@ -1,28 +1,166 @@
GET /m8/feeds/groups/default/full HTTP/1.1
-> Soup-Debug-Timestamp: 1375363445
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 4 (0x844280), SoupSocket 3 (0x8f3320)
+> Soup-Debug-Timestamp: 1415490491
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 18 (0x1ce9490), SoupSocket 10 (0x1e32c40)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAA8mPvhNGE-jJP2si5Hm0QdulqULfifDPolWHjOKLlxd2YLRzsE7It5Cr31q7NYMk1fYHKYBOoOFHZtlqyPu2_0ui_i2GKjj5ltAZxojvss1QJriJ5cdCRtMfIGV620jdp6BshoRtUYoCVLwcTLeyniROXrfyIVaZF7cn2z6dZ2D_6zi45FNAaR57jS4wTDt50MSEHYaiPQVvkuWhhqGir6M0igoQ67LHHO76-MnLu69LB-oi-yZIlCRTzshjg0vFebEbvHGtiardyGk1gs3RWb9_9OroE_zLLdLjMd12GSrQ
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375363445
-< Soup-Debug: SoupMessage 4 (0x844280)
-< Content-Type: application/atom+xml; charset=UTF-8; type=feed
-< Expires: Thu, 01 Aug 2013 13:24:05 GMT
-< Date: Thu, 01 Aug 2013 13:24:05 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
-< Vary: Accept, X-GData-Authorization, GData-Version
-< GData-Version: 3.1
-< ETag: W/"CUMARHs5fCt7I2A9WhFWE0s."
-< Last-Modified: Thu, 01 Aug 2013 13:24:05 GMT
+< Soup-Debug-Timestamp: 1415490491
+< Soup-Debug: SoupMessage 18 (0x1ce9490)
+< Expires: Sat, 08 Nov 2014 23:48:11 GMT
+< Date: Sat, 08 Nov 2014 23:48:11 GMT
+< Cache-Control: private, max-age=0, must-revalidate, no-transform
+< ETag: "QHo_cDVSLyt7I2A9XRdWFEQKQw0."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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' gd:etag='W/&quot;CUMARHs5fCt7I2A9WhFWE0s.&quot;'><id>libgdata 
test googlemail com</id><updated>2013-08-01T13:24:05.524Z</updated><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>GData Test's Contact Groups</title><link 
rel='alternate' type='text/html' href='http://www.google.com/'/><link 
rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full'/><link 
rel='http://schemas.google.com/g/2005#post' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full'/><link rel='http://schemas.
 google.com/g/2005#batch' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/batch'/><link rel='self' 
type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full?max-results=25'/><author><name>GData
 Test</name><email>libgdata test googlemail com</email></author><generator version='1.0' 
uri='http://www.google.com/m8/feeds'>Contacts</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry
 
gd:etag='&quot;YDwreyM.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6</id><updated>1970-01-01T00:00:00.000Z</updated><category
 scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>System Group: My Contacts</title><content>System 
Group: My Contacts</content><link rel='self' type='appl
 ication/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/6'/><gContact:systemGroup 
id='Contacts'/></entry><entry 
gd:etag='&quot;YDwreyM.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/d</id><updated>1970-01-01T00:00:00.000Z</updated><category
 scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>System Group: Friends</title><content>System 
Group: Friends</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/d'/><gContact:systemGroup 
id='Friends'/></entry><entry 
gd:etag='&quot;YDwreyM.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/e</id><updated>1970-01-01T00:00:00.000Z</updated><category
 scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>System Group: Family</title><conte
 nt>System Group: Family</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/e'/><gContact:systemGroup 
id='Family'/></entry><entry 
gd:etag='&quot;YDwreyM.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/f</id><updated>1970-01-01T00:00:00.000Z</updated><category
 scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>System Group: Coworkers</title><content>System 
Group: Coworkers</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/f'/><gContact:systemGroup 
id='Coworkers'/></entry><entry 
gd:etag='&quot;RH05eDVSLit7I2A9WhFWE0sJQwc.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/54e3ce689463892</id><updated>2013-08-01T13:23:55.320Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>20
 13-08-01T13:23:55.320Z</app:edited><category scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>Test Group 3</title><content>Test Group 
3</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/54e3ce689463892'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/54e3ce689463892'/></entry><entry
 
gd:etag='&quot;RH46ejVSLit7I2A9WhFWE0sJQwc.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/26cfdebe0a0840fe</id><updated>2013-08-01T13:23:55.012Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:23:55.012Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>Test Group 2</title><content>Test Group 
2</content><link rel='self' type='application
 /atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/26cfdebe0a0840fe'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/26cfdebe0a0840fe'/></entry><entry
 
gd:etag='&quot;RXk4eTVSLit7I2A9WhFWE0sJQwc.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/79e69f5a8f487596</id><updated>2013-08-01T13:23:54.731Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:23:54.731Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>Test Group 1</title><content>Test Group 
1</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/79e69f5a8f487596'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/ful
 l/79e69f5a8f487596'/></entry></feed>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <feed gd:etag="&quot;QHo_cDVSLyt7I2A9XRdWFEQKQw0.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005"; xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/";>
+<  <id>libgdata test googlemail com</id>
+<  <updated>2014-11-08T23:48:11.448Z</updated>
+<  <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<  <title>GData Test's Contact Groups</title>
+<  <link rel="alternate" type="text/html" href="https://www.google.com/"/>
+<  <link rel="http://schemas.google.com/g/2005#feed"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full"/>
+<  <link rel="http://schemas.google.com/g/2005#post"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full"/>
+<  <link rel="http://schemas.google.com/g/2005#batch"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/batch"/>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full?max-results=25"/>
+<  <author>
+<   <name>GData Test</name>
+<   <email>libgdata test googlemail com</email>
+<  </author>
+<  <generator version="1.0" uri="http://www.google.com/m8/feeds";>Contacts</generator>
+<  <openSearch:totalResults>12</openSearch:totalResults>
+<  <openSearch:startIndex>1</openSearch:startIndex>
+<  <openSearch:itemsPerPage>25</openSearch:itemsPerPage>
+<  <entry gd:etag="&quot;YDwreyM.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6</id>
+<   <updated>1970-01-01T00:00:00.000Z</updated>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>System Group: My Contacts</title>
+<   <content>System Group: My Contacts</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/6"/>
+<   <gContact:systemGroup id="Contacts"/>
+<  </entry>
+<  <entry gd:etag="&quot;YDwreyM.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/d</id>
+<   <updated>1970-01-01T00:00:00.000Z</updated>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>System Group: Friends</title>
+<   <content>System Group: Friends</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/d"/>
+<   <gContact:systemGroup id="Friends"/>
+<  </entry>
+<  <entry gd:etag="&quot;YDwreyM.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/e</id>
+<   <updated>1970-01-01T00:00:00.000Z</updated>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>System Group: Family</title>
+<   <content>System Group: Family</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/e"/>
+<   <gContact:systemGroup id="Family"/>
+<  </entry>
+<  <entry gd:etag="&quot;YDwreyM.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/f</id>
+<   <updated>1970-01-01T00:00:00.000Z</updated>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>System Group: Coworkers</title>
+<   <content>System Group: Coworkers</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/f"/>
+<   <gContact:systemGroup id="Coworkers"/>
+<  </entry>
+<  <entry gd:etag="&quot;QX0zfjVSLyt7I2A9XRdWFEQKQww.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/1d5fa390c9a7fe3</id>
+<   <updated>2014-11-08T23:48:00.386Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:48:00.386Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>Test Group 1</title>
+<   <content>Test Group 1</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/1d5fa390c9a7fe3"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/1d5fa390c9a7fe3"/>
+<  </entry>
+<  <entry gd:etag="&quot;QH49fzVSLit7I2A9XRdWFEQKQww.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/218e0110860fcd3</id>
+<   <updated>2014-11-08T23:48:01.067Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:48:01.067Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>Test Group 3</title>
+<   <content>Test Group 3</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/218e0110860fcd3"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/218e0110860fcd3"/>
+<  </entry>
+<  <entry gd:etag="&quot;RXg9fTVSLit7I2A9Wh9XGUwNRAc.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/115d0c4d0cd6f616</id>
+<   <updated>2014-03-15T21:02:14.665Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:02:14.665Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>D</title>
+<   <content>D</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/115d0c4d0cd6f616"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/115d0c4d0cd6f616"/>
+<  </entry>
+<  <entry gd:etag="&quot;R3s6ejVSLit7I2A9Wh9XGUwCQgw.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/4558a0fc0f98a74a</id>
+<   <updated>2014-03-15T21:23:06.512Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:23:06.512Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>A</title>
+<   <content>A</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/4558a0fc0f98a74a"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/4558a0fc0f98a74a"/>
+<  </entry>
+<  <entry gd:etag="&quot;QXk5fzVSLit7I2A9XRdWFEQKQww.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/52ccac800d63785b</id>
+<   <updated>2014-11-08T23:48:00.727Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:48:00.727Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>Test Group 2</title>
+<   <content>Test Group 2</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/52ccac800d63785b"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/52ccac800d63785b"/>
+<  </entry>
+<  <entry gd:etag="&quot;Q34zeTVSLit7I2A9Wh9XGUwCQAY.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/5a5615828e8c12dc</id>
+<   <updated>2014-03-15T21:25:22.081Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:25:22.081Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>B</title>
+<   <content>B</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/5a5615828e8c12dc"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/5a5615828e8c12dc"/>
+<  </entry>
+<  <entry gd:etag="&quot;R3kyfzVSLyt7I2A9Wh9XGUwCQAI.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/5aa4ff9a0de39ade</id>
+<   <updated>2014-03-15T21:26:06.797Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:26:06.797Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>E</title>
+<   <content>E</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/5aa4ff9a0de39ade"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/5aa4ff9a0de39ade"/>
+<  </entry>
+<  <entry gd:etag="&quot;Q3Y_fzVSLyt7I2A9Wh9XGUwCQAA.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/7b25d4e38c3f32b5</id>
+<   <updated>2014-03-15T21:25:42.847Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:25:42.847Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>C</title>
+<   <content>C</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/7b25d4e38c3f32b5"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/7b25d4e38c3f32b5"/>
+<  </entry>
+< </feed>
   
diff --git a/gdata/tests/traces/contacts/query-all-groups-async-progress-closure 
b/gdata/tests/traces/contacts/query-all-groups-async-progress-closure
index 21ca174..ce045a4 100644
--- a/gdata/tests/traces/contacts/query-all-groups-async-progress-closure
+++ b/gdata/tests/traces/contacts/query-all-groups-async-progress-closure
@@ -1,28 +1,166 @@
GET /m8/feeds/groups/default/full HTTP/1.1
-> Soup-Debug-Timestamp: 1375363469
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 18 (0x7fffe003d8d0), SoupSocket 9 (0x8f34a0)
+> Soup-Debug-Timestamp: 1415490527
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 34 (0x7f451000f1d0), SoupSocket 17 (0x7f45100449c0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAA8mPvhNGE-jJP2si5Hm0QdulqULfifDPolWHjOKLlxd2YLRzsE7It5Cr31q7NYMk1fYHKYBOoOFHZtlqyPu2_0ui_i2GKjj5ltAZxojvss1QJriJ5cdCRtMfIGV620jdp6BshoRtUYoCVLwcTLeyniROXrfyIVaZF7cn2z6dZ2D_6zi45FNAaR57jS4wTDt50MSEHYaiPQVvkuWhhqGir6M0igoQ67LHHO76-MnLu69LB-oi-yZIlCRTzshjg0vFebEbvHGtiardyGk1gs3RWb9_9OroE_zLLdLjMd12GSrQ
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375363469
-< Soup-Debug: SoupMessage 18 (0x7fffe003d8d0)
-< Content-Type: application/atom+xml; charset=UTF-8; type=feed
-< Expires: Thu, 01 Aug 2013 13:24:29 GMT
-< Date: Thu, 01 Aug 2013 13:24:29 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
-< Vary: Accept, X-GData-Authorization, GData-Version
-< GData-Version: 3.1
-< ETag: W/"CUMCSH06cCt7I2A9WhFWE0s."
-< Last-Modified: Thu, 01 Aug 2013 13:24:29 GMT
+< Soup-Debug-Timestamp: 1415490527
+< Soup-Debug: SoupMessage 34 (0x7f451000f1d0)
+< Expires: Sat, 08 Nov 2014 23:48:47 GMT
+< Date: Sat, 08 Nov 2014 23:48:47 GMT
+< Cache-Control: private, max-age=0, must-revalidate, no-transform
+< ETag: "Rnc4fDVSLyt7I2A9XRdWFEQKQgY."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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' gd:etag='W/&quot;CUMCSH06cCt7I2A9WhFWE0s.&quot;'><id>libgdata 
test googlemail com</id><updated>2013-08-01T13:24:29.318Z</updated><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>GData Test's Contact Groups</title><link 
rel='alternate' type='text/html' href='http://www.google.com/'/><link 
rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full'/><link 
rel='http://schemas.google.com/g/2005#post' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full'/><link rel='http://schemas.
 google.com/g/2005#batch' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/batch'/><link rel='self' 
type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full?max-results=25'/><author><name>GData
 Test</name><email>libgdata test googlemail com</email></author><generator version='1.0' 
uri='http://www.google.com/m8/feeds'>Contacts</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry
 
gd:etag='&quot;YDwreyM.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6</id><updated>1970-01-01T00:00:00.000Z</updated><category
 scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>System Group: My Contacts</title><content>System 
Group: My Contacts</content><link rel='self' type='appl
 ication/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/6'/><gContact:systemGroup 
id='Contacts'/></entry><entry 
gd:etag='&quot;YDwreyM.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/d</id><updated>1970-01-01T00:00:00.000Z</updated><category
 scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>System Group: Friends</title><content>System 
Group: Friends</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/d'/><gContact:systemGroup 
id='Friends'/></entry><entry 
gd:etag='&quot;YDwreyM.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/e</id><updated>1970-01-01T00:00:00.000Z</updated><category
 scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>System Group: Family</title><conte
 nt>System Group: Family</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/e'/><gContact:systemGroup 
id='Family'/></entry><entry 
gd:etag='&quot;YDwreyM.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/f</id><updated>1970-01-01T00:00:00.000Z</updated><category
 scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>System Group: Coworkers</title><content>System 
Group: Coworkers</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/f'/><gContact:systemGroup 
id='Coworkers'/></entry><entry 
gd:etag='&quot;SXkzeTVSLit7I2A9WhFWE0sJQwE.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/234eba4c0e7f7b56</id><updated>2013-08-01T13:24:18.781Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2
 013-08-01T13:24:18.781Z</app:edited><category scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>Test Group 2</title><content>Test Group 
2</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/234eba4c0e7f7b56'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/234eba4c0e7f7b56'/></entry><entry
 
gd:etag='&quot;SXs4fzVSLit7I2A9WhFWE0sJQwE.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6558a3a30cb947af</id><updated>2013-08-01T13:24:18.537Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:24:18.537Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>Test Group 1</title><content>Test Group 
1</content><link rel='self' type='applicat
 ion/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/6558a3a30cb947af'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/6558a3a30cb947af'/></entry><entry
 
gd:etag='&quot;SH48fzVSLit7I2A9WhFWE0sJQwE.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/7810274a093ad5a1</id><updated>2013-08-01T13:24:19.077Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:24:19.077Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>Test Group 3</title><content>Test Group 
3</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/7810274a093ad5a1'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/
 full/7810274a093ad5a1'/></entry></feed>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <feed gd:etag="&quot;Rnc4fDVSLyt7I2A9XRdWFEQKQgY.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005"; xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/";>
+<  <id>libgdata test googlemail com</id>
+<  <updated>2014-11-08T23:48:47.934Z</updated>
+<  <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<  <title>GData Test's Contact Groups</title>
+<  <link rel="alternate" type="text/html" href="https://www.google.com/"/>
+<  <link rel="http://schemas.google.com/g/2005#feed"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full"/>
+<  <link rel="http://schemas.google.com/g/2005#post"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full"/>
+<  <link rel="http://schemas.google.com/g/2005#batch"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/batch"/>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full?max-results=25"/>
+<  <author>
+<   <name>GData Test</name>
+<   <email>libgdata test googlemail com</email>
+<  </author>
+<  <generator version="1.0" uri="http://www.google.com/m8/feeds";>Contacts</generator>
+<  <openSearch:totalResults>12</openSearch:totalResults>
+<  <openSearch:startIndex>1</openSearch:startIndex>
+<  <openSearch:itemsPerPage>25</openSearch:itemsPerPage>
+<  <entry gd:etag="&quot;YDwreyM.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6</id>
+<   <updated>1970-01-01T00:00:00.000Z</updated>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>System Group: My Contacts</title>
+<   <content>System Group: My Contacts</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/6"/>
+<   <gContact:systemGroup id="Contacts"/>
+<  </entry>
+<  <entry gd:etag="&quot;YDwreyM.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/d</id>
+<   <updated>1970-01-01T00:00:00.000Z</updated>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>System Group: Friends</title>
+<   <content>System Group: Friends</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/d"/>
+<   <gContact:systemGroup id="Friends"/>
+<  </entry>
+<  <entry gd:etag="&quot;YDwreyM.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/e</id>
+<   <updated>1970-01-01T00:00:00.000Z</updated>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>System Group: Family</title>
+<   <content>System Group: Family</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/e"/>
+<   <gContact:systemGroup id="Family"/>
+<  </entry>
+<  <entry gd:etag="&quot;YDwreyM.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/f</id>
+<   <updated>1970-01-01T00:00:00.000Z</updated>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>System Group: Coworkers</title>
+<   <content>System Group: Coworkers</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/f"/>
+<   <gContact:systemGroup id="Coworkers"/>
+<  </entry>
+<  <entry gd:etag="&quot;Rn8yejVSLit7I2A9XRdWFEQKQgU.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/61d709b0a05798f</id>
+<   <updated>2014-11-08T23:48:37.192Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:48:37.192Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>Test Group 2</title>
+<   <content>Test Group 2</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/61d709b0a05798f"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/61d709b0a05798f"/>
+<  </entry>
+<  <entry gd:etag="&quot;RXg9fTVSLit7I2A9Wh9XGUwNRAc.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/115d0c4d0cd6f616</id>
+<   <updated>2014-03-15T21:02:14.665Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:02:14.665Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>D</title>
+<   <content>D</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/115d0c4d0cd6f616"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/115d0c4d0cd6f616"/>
+<  </entry>
+<  <entry gd:etag="&quot;R3s6ejVSLit7I2A9Wh9XGUwCQgw.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/4558a0fc0f98a74a</id>
+<   <updated>2014-03-15T21:23:06.512Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:23:06.512Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>A</title>
+<   <content>A</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/4558a0fc0f98a74a"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/4558a0fc0f98a74a"/>
+<  </entry>
+<  <entry gd:etag="&quot;Q34zeTVSLit7I2A9Wh9XGUwCQAY.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/5a5615828e8c12dc</id>
+<   <updated>2014-03-15T21:25:22.081Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:25:22.081Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>B</title>
+<   <content>B</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/5a5615828e8c12dc"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/5a5615828e8c12dc"/>
+<  </entry>
+<  <entry gd:etag="&quot;R3kyfzVSLyt7I2A9Wh9XGUwCQAI.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/5aa4ff9a0de39ade</id>
+<   <updated>2014-03-15T21:26:06.797Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:26:06.797Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>E</title>
+<   <content>E</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/5aa4ff9a0de39ade"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/5aa4ff9a0de39ade"/>
+<  </entry>
+<  <entry gd:etag="&quot;Rns_fTVSLit7I2A9XRdWFEQKQgU.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6e75d86c0cd1b268</id>
+<   <updated>2014-11-08T23:48:37.545Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:48:37.545Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>Test Group 3</title>
+<   <content>Test Group 3</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/6e75d86c0cd1b268"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/6e75d86c0cd1b268"/>
+<  </entry>
+<  <entry gd:etag="&quot;Q3Y_fzVSLyt7I2A9Wh9XGUwCQAA.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/7b25d4e38c3f32b5</id>
+<   <updated>2014-03-15T21:25:42.847Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:25:42.847Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>C</title>
+<   <content>C</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/7b25d4e38c3f32b5"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/7b25d4e38c3f32b5"/>
+<  </entry>
+<  <entry gd:etag="&quot;R3s_eDVSLit7I2A9XRdWFEQKQgU.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/7c4fb3b60a62383b</id>
+<   <updated>2014-11-08T23:48:36.540Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:48:36.540Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>Test Group 1</title>
+<   <content>Test Group 1</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/7c4fb3b60a62383b"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/7c4fb3b60a62383b"/>
+<  </entry>
+< </feed>
   
diff --git a/gdata/tests/traces/contacts/query_all_contacts-async 
b/gdata/tests/traces/contacts/query_all_contacts-async
index 4f4cd4f..85aa87c 100644
--- a/gdata/tests/traces/contacts/query_all_contacts-async
+++ b/gdata/tests/traces/contacts/query_all_contacts-async
@@ -1,28 +1,373 @@
GET /m8/feeds/contacts/default/full HTTP/1.1
-> Soup-Debug-Timestamp: 1375253724
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 17 (0x7fffe0026660), SoupSocket 8 (0x72a250)
+> Soup-Debug-Timestamp: 1415489558
+> Soup-Debug: SoupSession 1 (0x15cd240), SoupMessage 20 (0x182f640), SoupSocket 11 (0x18d59a0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAAXK6VbKHFb8MrY8VDDk8TplfYU8Pl8OJ_JDJA5Ku7Q1SXgGXmiXXNSumd183YRnbThEZBRN5nYygedI2kQsVKzOFACPFEPo7ShQaRGycnxE3GLDfmMWN_zc43HzWPka0-WgOvpmqpxLFWh0EYyD3pF7Yebk_jLBxJEBWU9v8FZrljhbtK-g4kiiBeuNs4kYYLTu-vF7GCSIcSC2WuHSkxI091viwmbQhZY_6fi_MaY_qgOPss9HlAHeJ543JSjtRmsVtK_4aNWbmaz9VcCr9lXEksu1dUTvroRvtlr8XyvOg
+> Authorization: Bearer ya29.uACgkznYPDckPkHNMU2MF2gRNGrNKqsjnalf5jZmQ0jV9jcp297YMiQop53msSbUJi5poX8LolhsSw
GData-Version: 3
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375253724
-< Soup-Debug: SoupMessage 17 (0x7fffe0026660)
-< Content-Type: application/atom+xml; charset=UTF-8; type=feed
-< Expires: Wed, 31 Jul 2013 06:55:24 GMT
-< Date: Wed, 31 Jul 2013 06:55:24 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
-< Vary: Accept, X-GData-Authorization, GData-Version
-< GData-Version: 3.1
-< ETag: W/"CUAGRXo-fCt7I2A9WhFWEkg."
-< Last-Modified: Wed, 31 Jul 2013 06:55:24 GMT
+< Soup-Debug-Timestamp: 1415489558
+< Soup-Debug: SoupMessage 20 (0x182f640)
+< Expires: Sat, 08 Nov 2014 23:32:38 GMT
+< Date: Sat, 08 Nov 2014 23:32:38 GMT
+< Cache-Control: private, max-age=0, must-revalidate, no-transform
+< ETag: "SXg9fTVSLyt7I2A9XRdWFEUDQgE."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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' gd:etag='W/&quot;CUAGRXo-fCt7I2A9WhFWEkg.&quot;'><id>libgdata 
test googlemail com</id><updated>2013-07-31T06:55:24.454Z</updated><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#contact'/><title>GData Test's Contacts</title><link 
rel='alternate' type='text/html' href='http://www.google.com/'/><link 
rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full'/><link 
rel='http://schemas.google.com/g/2005#post' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full'/><link 
rel='http://schemas.
 google.com/g/2005#batch' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/batch'/><link rel='self' 
type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full?max-results=25'/><author><name>GData
 Test</name><email>libgdata test googlemail com</email></author><generator version='1.0' 
uri='http://www.google.com/m8/feeds'>Contacts</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry
 
gd:etag='&quot;SXo6cTVSLit7I2A9WhFWEkgJQAU.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/276293b50c9c9c90</id><updated>2013-07-31T06:55:18.419Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-07-31T06:55:18.419Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/con
 tact/2008#contact'/><title></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/276293b50c9c9c90'/><link 
rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/276293b50c9c9c90'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/276293b50c9c9c90'/><gContact:nickname>Test
 Contact 1</gContact:nickname></entry><entry 
gd:etag='&quot;SH8zfzVSLit7I2A9WhFWEkgJQAU.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/5383be18886ab2dd</id><updated>2013-07-31T06:55:19.187Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-07-31T06:55:19.187Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#contact'/><title></title><lin
 k rel='http://schemas.google.com/contacts/2008/rel#photo' type='image/*' 
href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/5383be18886ab2dd'/><link 
rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/5383be18886ab2dd'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/5383be18886ab2dd'/><gContact:nickname>Test
 Contact 3</gContact:nickname></entry><entry 
gd:etag='&quot;SXY6fDVSLit7I2A9WhFWEkgJQAU.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/7164f0b208a6afbe</id><updated>2013-07-31T06:55:18.814Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-07-31T06:55:18.814Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#contact'/><title></title><link 
rel='http://schemas.google.com/contac
 ts/2008/rel#photo' type='image/*' 
href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/7164f0b208a6afbe'/><link 
rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/7164f0b208a6afbe'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/7164f0b208a6afbe'/><gContact:nickname>Test
 Contact 2</gContact:nickname></entry></feed>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <feed gd:etag="&quot;SXg9fTVSLyt7I2A9XRdWFEUDQgE.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005"; xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/";>
+<  <id>libgdata test googlemail com</id>
+<  <updated>2014-11-08T23:32:38.665Z</updated>
+<  <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<  <title>GData Test's Contacts</title>
+<  <link rel="alternate" type="text/html" href="https://www.google.com/"/>
+<  <link rel="http://schemas.google.com/g/2005#feed"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full"/>
+<  <link rel="http://schemas.google.com/g/2005#post"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full"/>
+<  <link rel="http://schemas.google.com/g/2005#batch"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/batch"/>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full?max-results=25"/>
+<  <author>
+<   <name>GData Test</name>
+<   <email>libgdata test googlemail com</email>
+<  </author>
+<  <generator version="1.0" uri="http://www.google.com/m8/feeds";>Contacts</generator>
+<  <openSearch:totalResults>16</openSearch:totalResults>
+<  <openSearch:startIndex>1</openSearch:startIndex>
+<  <openSearch:itemsPerPage>25</openSearch:itemsPerPage>
+<  <entry gd:etag="&quot;Q3gzejVSLyt7I2A9Wh9XGUwCQAY.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/a86b08c4621c7</id>
+<   <updated>2014-03-15T21:25:22.682Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:25:22.682Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>AA</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/a86b08c4621c7"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/a86b08c4621c7"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/a86b08c4621c7"/>
+<   <gd:name>
+<    <gd:fullName>AA</gd:fullName>
+<    <gd:givenName>AA</gd:givenName>
+<   </gd:name>
+<   <gContact:fileAs>AA</gContact:fileAs>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/5a5615828e8c12dc"/>
+<   <gd:extendedProperty name="X-MOZILLA-HTML">FALSE</gd:extendedProperty>
+<  </entry>
+<  <entry gd:etag="&quot;RHc4fzVSLit7I2A9Wh9VF0oPQAU.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/1848d1b50ceff503</id>
+<   <updated>2014-04-06T09:15:15.937Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-04-06T09:15:15.937Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>Test Mcfoobar</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/1848d1b50ceff503"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1848d1b50ceff503"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1848d1b50ceff503"/>
+<   <gd:name>
+<    <gd:fullName>Test Mcfoobar</gd:fullName>
+<    <gd:givenName>Test</gd:givenName>
+<    <gd:familyName>Mcfoobar</gd:familyName>
+<   </gd:name>
+<   <gContact:fileAs>Mcfoobar, Test</gContact:fileAs>
+<   <gd:email rel="http://schemas.google.com/g/2005#work"; address="test1 example com" primary="true"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<   <gd:extendedProperty name="X-MOZILLA-HTML">FALSE</gd:extendedProperty>
+<  </entry>
+<  <entry gd:etag="&quot;R34zezVSLit7I2A9XRdWFEUDRQY.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/186ec44a0fc1ca9d</id>
+<   <updated>2014-11-08T23:27:06.083Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:27:06.083Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>John Wilson</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/186ec44a0fc1ca9d"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/186ec44a0fc1ca9d"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/186ec44a0fc1ca9d"/>
+<   <gd:name>
+<    <gd:fullName>John Wilson</gd:fullName>
+<    <gd:givenName>John</gd:givenName>
+<    <gd:familyName>Wilson</gd:familyName>
+<   </gd:name>
+<   <gContact:nickname>Test Contact Esq.</gContact:nickname>
+<   <gd:extendedProperty name="contact-test">value</gd:extendedProperty>
+<  </entry>
+<  <entry gd:etag="&quot;Qnw_fzVSLit7I2A9XRdWFEUDQgE.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/1ded2e498d3e6d35</id>
+<   <updated>2014-11-08T23:32:33.247Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:32:33.247Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <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/1ded2e498d3e6d35"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1ded2e498d3e6d35"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1ded2e498d3e6d35"/>
+<   <gContact:nickname>Test Contact 3</gContact:nickname>
+<  </entry>
+<  <entry gd:etag="&quot;RX0-cDVSLit7I2A9XRdWFEUDRgE.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/1ebe29f48b9167e1</id>
+<   <updated>2014-11-08T23:25:54.358Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:25:54.358Z</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/1ebe29f48b9167e1"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1ebe29f48b9167e1"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1ebe29f48b9167e1"/>
+<   <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:initials>A. B. C.</gContact:initials>
+<   <gContact:shortName>Jon</gContact:shortName>
+<   <gContact:maidenName>Smith</gContact:maidenName>
+<   <gContact:gender value="male"/>
+<   <gContact:birthday when="--01-01"/>
+<   <gContact:occupation>Professional bum</gContact:occupation>
+<   <gContact:billingInformation>Big J Enterprises, Ltd.</gContact:billingInformation>
+<   <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 rel="http://schemas.google.com/g/2005#work"; primary="true">
+<    <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 primary="true" href="http://calendar.example.com/"; 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>
+<  <entry gd:etag="&quot;QH48fzVSLit7I2A9XRdWFEUDQgc.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/1fe897fa0c51ed2c</id>
+<   <updated>2014-11-08T23:32:11.077Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:32:11.077Z</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/1fe897fa0c51ed2c"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1fe897fa0c51ed2c"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1fe897fa0c51ed2c"/>
+<   <gd:name>
+<    <gd:fullName>Toby</gd:fullName>
+<    <gd:givenName>Brian</gd:givenName>
+<   </gd:name>
+<  </entry>
+<  <entry gd:etag="&quot;Q34-fTVSLit7I2A9XRdWFEUDQgE.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/29c0dbee0da884ed</id>
+<   <updated>2014-11-08T23:32:32.055Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:32:32.055Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <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/29c0dbee0da884ed"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/29c0dbee0da884ed"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/29c0dbee0da884ed"/>
+<   <gContact:nickname>Test Contact 1</gContact:nickname>
+<  </entry>
+<  <entry gd:etag="&quot;Qn0zcDVSLit7I2A9Wh9XGUwCQAA.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/2f943d4789cb93a9</id>
+<   <updated>2014-03-15T21:25:43.388Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:25:43.388Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>AAA</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/2f943d4789cb93a9"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/2f943d4789cb93a9"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/2f943d4789cb93a9"/>
+<   <gd:name>
+<    <gd:fullName>AAA</gd:fullName>
+<    <gd:givenName>AAA</gd:givenName>
+<   </gd:name>
+<   <gContact:fileAs>AAA</gContact:fileAs>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/7b25d4e38c3f32b5"/>
+<   <gd:extendedProperty name="X-MOZILLA-HTML">FALSE</gd:extendedProperty>
+<  </entry>
+<  <entry gd:etag="&quot;SX89cTVSLit7I2A9Wh9XGUwCQg0.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/3531fe820d6801f3</id>
+<   <updated>2014-03-15T21:23:18.169Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:23:18.169Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>AAAA</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/3531fe820d6801f3"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/3531fe820d6801f3"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/3531fe820d6801f3"/>
+<   <gd:name>
+<    <gd:fullName>AAAA</gd:fullName>
+<    <gd:givenName>AAAA</gd:givenName>
+<   </gd:name>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/115d0c4d0cd6f616"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<  </entry>
+<  <entry gd:etag="&quot;RXY5fDVSLit7I2A9XRdWFEUCTgc.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/37c76f0508bed31f</id>
+<   <updated>2014-11-08T23:22:14.824Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:22:14.824Z</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/37c76f0508bed31f"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/37c76f0508bed31f"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/37c76f0508bed31f"/>
+<   <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:initials>A. B. C.</gContact:initials>
+<   <gContact:shortName>Jon</gContact:shortName>
+<   <gContact:maidenName>Smith</gContact:maidenName>
+<   <gContact:gender value="male"/>
+<   <gContact:birthday when="--01-01"/>
+<   <gContact:occupation>Professional bum</gContact:occupation>
+<   <gContact:billingInformation>Big J Enterprises, Ltd.</gContact:billingInformation>
+<   <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 rel="http://schemas.google.com/g/2005#work"; primary="true">
+<    <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 primary="true" href="http://calendar.example.com/"; 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>
+<  <entry gd:etag="&quot;Rns7eDVSLyt7I2A9Wh9XGUwCQAI.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/3b0b0e8c8d6c81ef</id>
+<   <updated>2014-03-15T21:26:07.500Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:26:07.500Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>AAAAA</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/3b0b0e8c8d6c81ef"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/3b0b0e8c8d6c81ef"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/3b0b0e8c8d6c81ef"/>
+<   <gd:name>
+<    <gd:fullName>AAAAA</gd:fullName>
+<    <gd:givenName>AAAAA</gd:givenName>
+<   </gd:name>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/5aa4ff9a0de39ade"/>
+<  </entry>
+<  <entry gd:etag="&quot;RXs4ejVSLit7I2A9XRdWFEUDRQU.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/415b6675090874ea</id>
+<   <updated>2014-11-08T23:26:54.532Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:26:54.532Z</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/415b6675090874ea"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/415b6675090874ea"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/415b6675090874ea"/>
+<   <gd:name>
+<    <gd:fullName>Toby</gd:fullName>
+<    <gd:givenName>Brian</gd:givenName>
+<   </gd:name>
+<  </entry>
+<  <entry gd:etag="&quot;Qnc4fjVSLit7I2A9XRdWFEUCTgc.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/505ad8890cd2744a</id>
+<   <updated>2014-11-08T23:22:13.936Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:22:13.936Z</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/505ad8890cd2744a"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/505ad8890cd2744a"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/505ad8890cd2744a"/>
+<   <gd:name>
+<    <gd:fullName>Toby</gd:fullName>
+<    <gd:givenName>Brian</gd:givenName>
+<   </gd:name>
+<  </entry>
+<  <entry gd:etag="&quot;Q3g6eTVSLit7I2A9XRdWFEUDQgE.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/514bdf588ee57f55</id>
+<   <updated>2014-11-08T23:32:32.611Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:32:32.611Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <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/514bdf588ee57f55"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/514bdf588ee57f55"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/514bdf588ee57f55"/>
+<   <gContact:nickname>Test Contact 2</gContact:nickname>
+<  </entry>
+<  <entry gd:etag="&quot;QnY4fDVSLyt7I2A9XRdWFEUDRgE.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/65834f618a9f8743</id>
+<   <updated>2014-11-08T23:25:53.834Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:25:53.834Z</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/65834f618a9f8743"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/65834f618a9f8743"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/65834f618a9f8743"/>
+<   <gd:name>
+<    <gd:fullName>Toby</gd:fullName>
+<    <gd:givenName>Brian</gd:givenName>
+<   </gd:name>
+<  </entry>
+<  <entry gd:etag="&quot;Rn4-ezVSLit7I2A9Wh9XGUwCQgw.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/6754f9cf8cbc042d</id>
+<   <updated>2014-03-15T21:23:07.053Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:23:07.053Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>A</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/6754f9cf8cbc042d"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/6754f9cf8cbc042d"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/6754f9cf8cbc042d"/>
+<   <gd:name>
+<    <gd:fullName>A</gd:fullName>
+<    <gd:givenName>A</gd:givenName>
+<   </gd:name>
+<   <gContact:fileAs>A</gContact:fileAs>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/4558a0fc0f98a74a"/>
+<   <gd:extendedProperty name="X-MOZILLA-HTML">FALSE</gd:extendedProperty>
+<  </entry>
+< </feed>
   
diff --git a/gdata/tests/traces/contacts/query_all_contacts-async-cancellation 
b/gdata/tests/traces/contacts/query_all_contacts-async-cancellation
index 3b99245..658c974 100644
--- a/gdata/tests/traces/contacts/query_all_contacts-async-cancellation
+++ b/gdata/tests/traces/contacts/query_all_contacts-async-cancellation
@@ -1,28 +1,373 @@
GET /m8/feeds/contacts/default/full HTTP/1.1
-> Soup-Debug-Timestamp: 1375253733
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 26 (0x7fffe4002ac0), SoupSocket 13 (0x7fffe0028610)
+> Soup-Debug-Timestamp: 1415489567
+> Soup-Debug: SoupSession 1 (0x15cd240), SoupMessage 29 (0x7ff43800ec60), SoupSocket 15 (0x7ff4380578b0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAAXK6VbKHFb8MrY8VDDk8TplfYU8Pl8OJ_JDJA5Ku7Q1SXgGXmiXXNSumd183YRnbThEZBRN5nYygedI2kQsVKzOFACPFEPo7ShQaRGycnxE3GLDfmMWN_zc43HzWPka0-WgOvpmqpxLFWh0EYyD3pF7Yebk_jLBxJEBWU9v8FZrljhbtK-g4kiiBeuNs4kYYLTu-vF7GCSIcSC2WuHSkxI091viwmbQhZY_6fi_MaY_qgOPss9HlAHeJ543JSjtRmsVtK_4aNWbmaz9VcCr9lXEksu1dUTvroRvtlr8XyvOg
+> Authorization: Bearer ya29.uACgkznYPDckPkHNMU2MF2gRNGrNKqsjnalf5jZmQ0jV9jcp297YMiQop53msSbUJi5poX8LolhsSw
GData-Version: 3
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375253733
-< Soup-Debug: SoupMessage 26 (0x7fffe4002ac0)
-< Content-Type: application/atom+xml; charset=UTF-8; type=feed
-< Expires: Wed, 31 Jul 2013 06:55:33 GMT
-< Date: Wed, 31 Jul 2013 06:55:33 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
-< Vary: Accept, X-GData-Authorization, GData-Version
-< GData-Version: 3.1
-< ETag: W/"CUAHQn4ycCt7I2A9WhFWEkg."
-< Last-Modified: Wed, 31 Jul 2013 06:55:33 GMT
+< Soup-Debug-Timestamp: 1415489567
+< Soup-Debug: SoupMessage 29 (0x7ff43800ec60)
+< Expires: Sat, 08 Nov 2014 23:32:47 GMT
+< Date: Sat, 08 Nov 2014 23:32:47 GMT
+< Cache-Control: private, max-age=0, must-revalidate, no-transform
+< ETag: "Rn08eDVSLyt7I2A9XRdWFEUDQgI."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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' gd:etag='W/&quot;CUAHQn4ycCt7I2A9WhFWEkg.&quot;'><id>libgdata 
test googlemail com</id><updated>2013-07-31T06:55:33.098Z</updated><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#contact'/><title>GData Test's Contacts</title><link 
rel='alternate' type='text/html' href='http://www.google.com/'/><link 
rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full'/><link 
rel='http://schemas.google.com/g/2005#post' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full'/><link 
rel='http://schemas.
 google.com/g/2005#batch' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/batch'/><link rel='self' 
type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full?max-results=25'/><author><name>GData
 Test</name><email>libgdata test googlemail com</email></author><generator version='1.0' 
uri='http://www.google.com/m8/feeds'>Contacts</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry
 
gd:etag='&quot;RHk4fzVSLit7I2A9WhFWEkgJQAY.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/3ccb56000a5f60e9</id><updated>2013-07-31T06:55:25.737Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-07-31T06:55:25.737Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/con
 tact/2008#contact'/><title></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/3ccb56000a5f60e9'/><link 
rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/3ccb56000a5f60e9'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/3ccb56000a5f60e9'/><gContact:nickname>Test
 Contact 1</gContact:nickname></entry><entry 
gd:etag='&quot;R3gzfTVSLit7I2A9WhFWEkgJQAY.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/5f1e7d538ff8fc72</id><updated>2013-07-31T06:55:26.685Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-07-31T06:55:26.685Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#contact'/><title></title><lin
 k rel='http://schemas.google.com/contacts/2008/rel#photo' type='image/*' 
href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/5f1e7d538ff8fc72'/><link 
rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/5f1e7d538ff8fc72'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/5f1e7d538ff8fc72'/><gContact:nickname>Test
 Contact 3</gContact:nickname></entry><entry 
gd:etag='&quot;R384fzVSLit7I2A9WhFWEkgJQAY.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/6c6edb5e0ff91e8f</id><updated>2013-07-31T06:55:26.137Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-07-31T06:55:26.137Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#contact'/><title></title><link 
rel='http://schemas.google.com/contac
 ts/2008/rel#photo' type='image/*' 
href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/6c6edb5e0ff91e8f'/><link 
rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/6c6edb5e0ff91e8f'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/6c6edb5e0ff91e8f'/><gContact:nickname>Test
 Contact 2</gContact:nickname></entry></feed>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <feed gd:etag="&quot;Rn08eDVSLyt7I2A9XRdWFEUDQgI.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005"; xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/";>
+<  <id>libgdata test googlemail com</id>
+<  <updated>2014-11-08T23:32:47.370Z</updated>
+<  <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<  <title>GData Test's Contacts</title>
+<  <link rel="alternate" type="text/html" href="https://www.google.com/"/>
+<  <link rel="http://schemas.google.com/g/2005#feed"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full"/>
+<  <link rel="http://schemas.google.com/g/2005#post"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full"/>
+<  <link rel="http://schemas.google.com/g/2005#batch"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/batch"/>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full?max-results=25"/>
+<  <author>
+<   <name>GData Test</name>
+<   <email>libgdata test googlemail com</email>
+<  </author>
+<  <generator version="1.0" uri="http://www.google.com/m8/feeds";>Contacts</generator>
+<  <openSearch:totalResults>16</openSearch:totalResults>
+<  <openSearch:startIndex>1</openSearch:startIndex>
+<  <openSearch:itemsPerPage>25</openSearch:itemsPerPage>
+<  <entry gd:etag="&quot;Q3gzejVSLyt7I2A9Wh9XGUwCQAY.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/a86b08c4621c7</id>
+<   <updated>2014-03-15T21:25:22.682Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:25:22.682Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>AA</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/a86b08c4621c7"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/a86b08c4621c7"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/a86b08c4621c7"/>
+<   <gd:name>
+<    <gd:fullName>AA</gd:fullName>
+<    <gd:givenName>AA</gd:givenName>
+<   </gd:name>
+<   <gContact:fileAs>AA</gContact:fileAs>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/5a5615828e8c12dc"/>
+<   <gd:extendedProperty name="X-MOZILLA-HTML">FALSE</gd:extendedProperty>
+<  </entry>
+<  <entry gd:etag="&quot;QH47ezVSLit7I2A9XRdWFEUDQgI.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/e122bb38b3b8e3d</id>
+<   <updated>2014-11-08T23:32:41.003Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:32:41.003Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <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/e122bb38b3b8e3d"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/e122bb38b3b8e3d"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/e122bb38b3b8e3d"/>
+<   <gContact:nickname>Test Contact 3</gContact:nickname>
+<  </entry>
+<  <entry gd:etag="&quot;RHc4fzVSLit7I2A9Wh9VF0oPQAU.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/1848d1b50ceff503</id>
+<   <updated>2014-04-06T09:15:15.937Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-04-06T09:15:15.937Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>Test Mcfoobar</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/1848d1b50ceff503"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1848d1b50ceff503"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1848d1b50ceff503"/>
+<   <gd:name>
+<    <gd:fullName>Test Mcfoobar</gd:fullName>
+<    <gd:givenName>Test</gd:givenName>
+<    <gd:familyName>Mcfoobar</gd:familyName>
+<   </gd:name>
+<   <gContact:fileAs>Mcfoobar, Test</gContact:fileAs>
+<   <gd:email rel="http://schemas.google.com/g/2005#work"; address="test1 example com" primary="true"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<   <gd:extendedProperty name="X-MOZILLA-HTML">FALSE</gd:extendedProperty>
+<  </entry>
+<  <entry gd:etag="&quot;R34zezVSLit7I2A9XRdWFEUDRQY.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/186ec44a0fc1ca9d</id>
+<   <updated>2014-11-08T23:27:06.083Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:27:06.083Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>John Wilson</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/186ec44a0fc1ca9d"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/186ec44a0fc1ca9d"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/186ec44a0fc1ca9d"/>
+<   <gd:name>
+<    <gd:fullName>John Wilson</gd:fullName>
+<    <gd:givenName>John</gd:givenName>
+<    <gd:familyName>Wilson</gd:familyName>
+<   </gd:name>
+<   <gContact:nickname>Test Contact Esq.</gContact:nickname>
+<   <gd:extendedProperty name="contact-test">value</gd:extendedProperty>
+<  </entry>
+<  <entry gd:etag="&quot;QXgzeTVSLit7I2A9XRdWFEUDQgI.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/1b017a9e0aab84a8</id>
+<   <updated>2014-11-08T23:32:40.681Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:32:40.681Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <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/1b017a9e0aab84a8"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1b017a9e0aab84a8"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1b017a9e0aab84a8"/>
+<   <gContact:nickname>Test Contact 2</gContact:nickname>
+<  </entry>
+<  <entry gd:etag="&quot;RX0-cDVSLit7I2A9XRdWFEUDRgE.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/1ebe29f48b9167e1</id>
+<   <updated>2014-11-08T23:25:54.358Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:25:54.358Z</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/1ebe29f48b9167e1"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1ebe29f48b9167e1"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1ebe29f48b9167e1"/>
+<   <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:initials>A. B. C.</gContact:initials>
+<   <gContact:shortName>Jon</gContact:shortName>
+<   <gContact:maidenName>Smith</gContact:maidenName>
+<   <gContact:gender value="male"/>
+<   <gContact:birthday when="--01-01"/>
+<   <gContact:occupation>Professional bum</gContact:occupation>
+<   <gContact:billingInformation>Big J Enterprises, Ltd.</gContact:billingInformation>
+<   <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 rel="http://schemas.google.com/g/2005#work"; primary="true">
+<    <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 primary="true" href="http://calendar.example.com/"; 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>
+<  <entry gd:etag="&quot;QH48fzVSLit7I2A9XRdWFEUDQgc.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/1fe897fa0c51ed2c</id>
+<   <updated>2014-11-08T23:32:11.077Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:32:11.077Z</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/1fe897fa0c51ed2c"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1fe897fa0c51ed2c"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1fe897fa0c51ed2c"/>
+<   <gd:name>
+<    <gd:fullName>Toby</gd:fullName>
+<    <gd:givenName>Brian</gd:givenName>
+<   </gd:name>
+<  </entry>
+<  <entry gd:etag="&quot;Qn0zcDVSLit7I2A9Wh9XGUwCQAA.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/2f943d4789cb93a9</id>
+<   <updated>2014-03-15T21:25:43.388Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:25:43.388Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>AAA</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/2f943d4789cb93a9"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/2f943d4789cb93a9"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/2f943d4789cb93a9"/>
+<   <gd:name>
+<    <gd:fullName>AAA</gd:fullName>
+<    <gd:givenName>AAA</gd:givenName>
+<   </gd:name>
+<   <gContact:fileAs>AAA</gContact:fileAs>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/7b25d4e38c3f32b5"/>
+<   <gd:extendedProperty name="X-MOZILLA-HTML">FALSE</gd:extendedProperty>
+<  </entry>
+<  <entry gd:etag="&quot;SX89cTVSLit7I2A9Wh9XGUwCQg0.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/3531fe820d6801f3</id>
+<   <updated>2014-03-15T21:23:18.169Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:23:18.169Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>AAAA</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/3531fe820d6801f3"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/3531fe820d6801f3"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/3531fe820d6801f3"/>
+<   <gd:name>
+<    <gd:fullName>AAAA</gd:fullName>
+<    <gd:givenName>AAAA</gd:givenName>
+<   </gd:name>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/115d0c4d0cd6f616"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<  </entry>
+<  <entry gd:etag="&quot;RXY5fDVSLit7I2A9XRdWFEUCTgc.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/37c76f0508bed31f</id>
+<   <updated>2014-11-08T23:22:14.824Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:22:14.824Z</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/37c76f0508bed31f"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/37c76f0508bed31f"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/37c76f0508bed31f"/>
+<   <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:initials>A. B. C.</gContact:initials>
+<   <gContact:shortName>Jon</gContact:shortName>
+<   <gContact:maidenName>Smith</gContact:maidenName>
+<   <gContact:gender value="male"/>
+<   <gContact:birthday when="--01-01"/>
+<   <gContact:occupation>Professional bum</gContact:occupation>
+<   <gContact:billingInformation>Big J Enterprises, Ltd.</gContact:billingInformation>
+<   <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 rel="http://schemas.google.com/g/2005#work"; primary="true">
+<    <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 primary="true" href="http://calendar.example.com/"; 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>
+<  <entry gd:etag="&quot;Rns7eDVSLyt7I2A9Wh9XGUwCQAI.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/3b0b0e8c8d6c81ef</id>
+<   <updated>2014-03-15T21:26:07.500Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:26:07.500Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>AAAAA</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/3b0b0e8c8d6c81ef"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/3b0b0e8c8d6c81ef"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/3b0b0e8c8d6c81ef"/>
+<   <gd:name>
+<    <gd:fullName>AAAAA</gd:fullName>
+<    <gd:givenName>AAAAA</gd:givenName>
+<   </gd:name>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/5aa4ff9a0de39ade"/>
+<  </entry>
+<  <entry gd:etag="&quot;RXs4ejVSLit7I2A9XRdWFEUDRQU.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/415b6675090874ea</id>
+<   <updated>2014-11-08T23:26:54.532Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:26:54.532Z</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/415b6675090874ea"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/415b6675090874ea"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/415b6675090874ea"/>
+<   <gd:name>
+<    <gd:fullName>Toby</gd:fullName>
+<    <gd:givenName>Brian</gd:givenName>
+<   </gd:name>
+<  </entry>
+<  <entry gd:etag="&quot;Qnc4fjVSLit7I2A9XRdWFEUCTgc.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/505ad8890cd2744a</id>
+<   <updated>2014-11-08T23:22:13.936Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:22:13.936Z</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/505ad8890cd2744a"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/505ad8890cd2744a"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/505ad8890cd2744a"/>
+<   <gd:name>
+<    <gd:fullName>Toby</gd:fullName>
+<    <gd:givenName>Brian</gd:givenName>
+<   </gd:name>
+<  </entry>
+<  <entry gd:etag="&quot;QX49cDVSLit7I2A9XRdWFEUDQgI.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/63644dd68c0e95be</id>
+<   <updated>2014-11-08T23:32:40.068Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:32:40.068Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <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/63644dd68c0e95be"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/63644dd68c0e95be"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/63644dd68c0e95be"/>
+<   <gContact:nickname>Test Contact 1</gContact:nickname>
+<  </entry>
+<  <entry gd:etag="&quot;QnY4fDVSLyt7I2A9XRdWFEUDRgE.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/65834f618a9f8743</id>
+<   <updated>2014-11-08T23:25:53.834Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:25:53.834Z</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/65834f618a9f8743"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/65834f618a9f8743"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/65834f618a9f8743"/>
+<   <gd:name>
+<    <gd:fullName>Toby</gd:fullName>
+<    <gd:givenName>Brian</gd:givenName>
+<   </gd:name>
+<  </entry>
+<  <entry gd:etag="&quot;Rn4-ezVSLit7I2A9Wh9XGUwCQgw.&quot;">
+<   <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/6754f9cf8cbc042d</id>
+<   <updated>2014-03-15T21:23:07.053Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:23:07.053Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<   <title>A</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/6754f9cf8cbc042d"/>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/6754f9cf8cbc042d"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/6754f9cf8cbc042d"/>
+<   <gd:name>
+<    <gd:fullName>A</gd:fullName>
+<    <gd:givenName>A</gd:givenName>
+<   </gd:name>
+<   <gContact:fileAs>A</gContact:fileAs>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6"/>
+<   <gContact:groupMembershipInfo deleted="false" 
href="http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/4558a0fc0f98a74a"/>
+<   <gd:extendedProperty name="X-MOZILLA-HTML">FALSE</gd:extendedProperty>
+<  </entry>
+< </feed>
   
diff --git a/gdata/tests/traces/contacts/query_all_groups-async 
b/gdata/tests/traces/contacts/query_all_groups-async
index 6cc1446..bd551c7 100644
--- a/gdata/tests/traces/contacts/query_all_groups-async
+++ b/gdata/tests/traces/contacts/query_all_groups-async
@@ -1,28 +1,166 @@
GET /m8/feeds/groups/default/full HTTP/1.1
-> Soup-Debug-Timestamp: 1375363457
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 11 (0x844640), SoupSocket 6 (0x8f3560)
+> Soup-Debug-Timestamp: 1415490515
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 27 (0x7f451000f0e0), SoupSocket 14 (0x7f4510044d00)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAA8mPvhNGE-jJP2si5Hm0QdulqULfifDPolWHjOKLlxd2YLRzsE7It5Cr31q7NYMk1fYHKYBOoOFHZtlqyPu2_0ui_i2GKjj5ltAZxojvss1QJriJ5cdCRtMfIGV620jdp6BshoRtUYoCVLwcTLeyniROXrfyIVaZF7cn2z6dZ2D_6zi45FNAaR57jS4wTDt50MSEHYaiPQVvkuWhhqGir6M0igoQ67LHHO76-MnLu69LB-oi-yZIlCRTzshjg0vFebEbvHGtiardyGk1gs3RWb9_9OroE_zLLdLjMd12GSrQ
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375363457
-< Soup-Debug: SoupMessage 11 (0x844640)
-< Content-Type: application/atom+xml; charset=UTF-8; type=feed
-< Expires: Thu, 01 Aug 2013 13:24:17 GMT
-< Date: Thu, 01 Aug 2013 13:24:17 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
-< Vary: Accept, X-GData-Authorization, GData-Version
-< GData-Version: 3.1
-< ETag: W/"CUMBRnw9cSt7I2A9WhFWE0s."
-< Last-Modified: Thu, 01 Aug 2013 13:24:17 GMT
+< Soup-Debug-Timestamp: 1415490515
+< Soup-Debug: SoupMessage 27 (0x7f451000f0e0)
+< Expires: Sat, 08 Nov 2014 23:48:35 GMT
+< Date: Sat, 08 Nov 2014 23:48:35 GMT
+< Cache-Control: private, max-age=0, must-revalidate, no-transform
+< ETag: "RHo5fjVSLyt7I2A9XRdWFEQKQgU."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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' gd:etag='W/&quot;CUMBRnw9cSt7I2A9WhFWE0s.&quot;'><id>libgdata 
test googlemail com</id><updated>2013-08-01T13:24:17.269Z</updated><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>GData Test's Contact Groups</title><link 
rel='alternate' type='text/html' href='http://www.google.com/'/><link 
rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full'/><link 
rel='http://schemas.google.com/g/2005#post' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full'/><link rel='http://schemas.
 google.com/g/2005#batch' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/batch'/><link rel='self' 
type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full?max-results=25'/><author><name>GData
 Test</name><email>libgdata test googlemail com</email></author><generator version='1.0' 
uri='http://www.google.com/m8/feeds'>Contacts</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry
 
gd:etag='&quot;YDwreyM.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6</id><updated>1970-01-01T00:00:00.000Z</updated><category
 scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>System Group: My Contacts</title><content>System 
Group: My Contacts</content><link rel='self' type='appl
 ication/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/6'/><gContact:systemGroup 
id='Contacts'/></entry><entry 
gd:etag='&quot;YDwreyM.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/d</id><updated>1970-01-01T00:00:00.000Z</updated><category
 scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>System Group: Friends</title><content>System 
Group: Friends</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/d'/><gContact:systemGroup 
id='Friends'/></entry><entry 
gd:etag='&quot;YDwreyM.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/e</id><updated>1970-01-01T00:00:00.000Z</updated><category
 scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>System Group: Family</title><conte
 nt>System Group: Family</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/e'/><gContact:systemGroup 
id='Family'/></entry><entry 
gd:etag='&quot;YDwreyM.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/f</id><updated>1970-01-01T00:00:00.000Z</updated><category
 scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>System Group: Coworkers</title><content>System 
Group: Coworkers</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/f'/><gContact:systemGroup 
id='Coworkers'/></entry><entry 
gd:etag='&quot;Rn4yfTVSLyt7I2A9WhFWE0sJQwA.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/377767bb09f90f34</id><updated>2013-08-01T13:24:07.095Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2
 013-08-01T13:24:07.095Z</app:edited><category scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>Test Group 3</title><content>Test Group 
3</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/377767bb09f90f34'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/377767bb09f90f34'/></entry><entry
 
gd:etag='&quot;R3YzezVSLit7I2A9WhFWE0sJQwA.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/388305830838ca36</id><updated>2013-08-01T13:24:06.883Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:24:06.883Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>Test Group 2</title><content>Test Group 
2</content><link rel='self' type='applicat
 ion/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/388305830838ca36'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/388305830838ca36'/></entry><entry
 
gd:etag='&quot;R3g7cTVSLit7I2A9WhFWE0sJQwA.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6046a1160bbddc7a</id><updated>2013-08-01T13:24:06.609Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:24:06.609Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>Test Group 1</title><content>Test Group 
1</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/6046a1160bbddc7a'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/
 full/6046a1160bbddc7a'/></entry></feed>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <feed gd:etag="&quot;RHo5fjVSLyt7I2A9XRdWFEQKQgU.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005"; xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/";>
+<  <id>libgdata test googlemail com</id>
+<  <updated>2014-11-08T23:48:35.426Z</updated>
+<  <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<  <title>GData Test's Contact Groups</title>
+<  <link rel="alternate" type="text/html" href="https://www.google.com/"/>
+<  <link rel="http://schemas.google.com/g/2005#feed"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full"/>
+<  <link rel="http://schemas.google.com/g/2005#post"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full"/>
+<  <link rel="http://schemas.google.com/g/2005#batch"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/batch"/>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full?max-results=25"/>
+<  <author>
+<   <name>GData Test</name>
+<   <email>libgdata test googlemail com</email>
+<  </author>
+<  <generator version="1.0" uri="http://www.google.com/m8/feeds";>Contacts</generator>
+<  <openSearch:totalResults>12</openSearch:totalResults>
+<  <openSearch:startIndex>1</openSearch:startIndex>
+<  <openSearch:itemsPerPage>25</openSearch:itemsPerPage>
+<  <entry gd:etag="&quot;YDwreyM.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6</id>
+<   <updated>1970-01-01T00:00:00.000Z</updated>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>System Group: My Contacts</title>
+<   <content>System Group: My Contacts</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/6"/>
+<   <gContact:systemGroup id="Contacts"/>
+<  </entry>
+<  <entry gd:etag="&quot;YDwreyM.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/d</id>
+<   <updated>1970-01-01T00:00:00.000Z</updated>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>System Group: Friends</title>
+<   <content>System Group: Friends</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/d"/>
+<   <gContact:systemGroup id="Friends"/>
+<  </entry>
+<  <entry gd:etag="&quot;YDwreyM.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/e</id>
+<   <updated>1970-01-01T00:00:00.000Z</updated>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>System Group: Family</title>
+<   <content>System Group: Family</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/e"/>
+<   <gContact:systemGroup id="Family"/>
+<  </entry>
+<  <entry gd:etag="&quot;YDwreyM.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/f</id>
+<   <updated>1970-01-01T00:00:00.000Z</updated>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>System Group: Coworkers</title>
+<   <content>System Group: Coworkers</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/f"/>
+<   <gContact:systemGroup id="Coworkers"/>
+<  </entry>
+<  <entry gd:etag="&quot;RXs-eTVSLit7I2A9XRdWFEQKQgQ.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/5dce2cb8ad0779c</id>
+<   <updated>2014-11-08T23:48:24.551Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:48:24.551Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>Test Group 2</title>
+<   <content>Test Group 2</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/5dce2cb8ad0779c"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/5dce2cb8ad0779c"/>
+<  </entry>
+<  <entry gd:etag="&quot;Qnk-fDVSLit7I2A9XRdWFEQKQgQ.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/cb554230816ff25</id>
+<   <updated>2014-11-08T23:48:23.754Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:48:23.754Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>Test Group 1</title>
+<   <content>Test Group 1</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/cb554230816ff25"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/cb554230816ff25"/>
+<  </entry>
+<  <entry gd:etag="&quot;RXg9fTVSLit7I2A9Wh9XGUwNRAc.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/115d0c4d0cd6f616</id>
+<   <updated>2014-03-15T21:02:14.665Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:02:14.665Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>D</title>
+<   <content>D</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/115d0c4d0cd6f616"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/115d0c4d0cd6f616"/>
+<  </entry>
+<  <entry gd:etag="&quot;RXc-fzVSLit7I2A9XRdWFEQKQgQ.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/3afd35230e8b293a</id>
+<   <updated>2014-11-08T23:48:24.957Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:48:24.957Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>Test Group 3</title>
+<   <content>Test Group 3</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/3afd35230e8b293a"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/3afd35230e8b293a"/>
+<  </entry>
+<  <entry gd:etag="&quot;R3s6ejVSLit7I2A9Wh9XGUwCQgw.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/4558a0fc0f98a74a</id>
+<   <updated>2014-03-15T21:23:06.512Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:23:06.512Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>A</title>
+<   <content>A</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/4558a0fc0f98a74a"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/4558a0fc0f98a74a"/>
+<  </entry>
+<  <entry gd:etag="&quot;Q34zeTVSLit7I2A9Wh9XGUwCQAY.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/5a5615828e8c12dc</id>
+<   <updated>2014-03-15T21:25:22.081Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:25:22.081Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>B</title>
+<   <content>B</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/5a5615828e8c12dc"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/5a5615828e8c12dc"/>
+<  </entry>
+<  <entry gd:etag="&quot;R3kyfzVSLyt7I2A9Wh9XGUwCQAI.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/5aa4ff9a0de39ade</id>
+<   <updated>2014-03-15T21:26:06.797Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:26:06.797Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>E</title>
+<   <content>E</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/5aa4ff9a0de39ade"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/5aa4ff9a0de39ade"/>
+<  </entry>
+<  <entry gd:etag="&quot;Q3Y_fzVSLyt7I2A9Wh9XGUwCQAA.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/7b25d4e38c3f32b5</id>
+<   <updated>2014-03-15T21:25:42.847Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:25:42.847Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>C</title>
+<   <content>C</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/7b25d4e38c3f32b5"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/7b25d4e38c3f32b5"/>
+<  </entry>
+< </feed>
   
diff --git a/gdata/tests/traces/contacts/query_all_groups-async-cancellation 
b/gdata/tests/traces/contacts/query_all_groups-async-cancellation
index d6884bb..45b1e26 100644
--- a/gdata/tests/traces/contacts/query_all_groups-async-cancellation
+++ b/gdata/tests/traces/contacts/query_all_groups-async-cancellation
@@ -1,28 +1,166 @@
GET /m8/feeds/groups/default/full HTTP/1.1
-> Soup-Debug-Timestamp: 1375363481
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 27 (0x7fffe003dc90), SoupSocket 13 (0x8f3320)
+> Soup-Debug-Timestamp: 1415490540
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 43 (0x7f451000f590), SoupSocket 21 (0x7f4510044ea0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAA8mPvhNGE-jJP2si5Hm0QdulqULfifDPolWHjOKLlxd2YLRzsE7It5Cr31q7NYMk1fYHKYBOoOFHZtlqyPu2_0ui_i2GKjj5ltAZxojvss1QJriJ5cdCRtMfIGV620jdp6BshoRtUYoCVLwcTLeyniROXrfyIVaZF7cn2z6dZ2D_6zi45FNAaR57jS4wTDt50MSEHYaiPQVvkuWhhqGir6M0igoQ67LHHO76-MnLu69LB-oi-yZIlCRTzshjg0vFebEbvHGtiardyGk1gs3RWb9_9OroE_zLLdLjMd12GSrQ
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375363482
-< Soup-Debug: SoupMessage 27 (0x7fffe003dc90)
-< Content-Type: application/atom+xml; charset=UTF-8; type=feed
-< Expires: Thu, 01 Aug 2013 13:24:41 GMT
-< Date: Thu, 01 Aug 2013 13:24:41 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
-< Vary: Accept, X-GData-Authorization, GData-Version
-< GData-Version: 3.1
-< ETag: W/"CUMMQHczeit7I2A9WhFWE0s."
-< Last-Modified: Thu, 01 Aug 2013 13:24:41 GMT
+< Soup-Debug-Timestamp: 1415490541
+< Soup-Debug: SoupMessage 43 (0x7f451000f590)
+< Expires: Sat, 08 Nov 2014 23:49:01 GMT
+< Date: Sat, 08 Nov 2014 23:49:01 GMT
+< Cache-Control: private, max-age=0, must-revalidate, no-transform
+< ETag: "QH44ejVSLyt7I2A9XRdWFEQKQgA."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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' gd:etag='W/&quot;CUMMQHczeit7I2A9WhFWE0s.&quot;'><id>libgdata 
test googlemail com</id><updated>2013-08-01T13:24:41.982Z</updated><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>GData Test's Contact Groups</title><link 
rel='alternate' type='text/html' href='http://www.google.com/'/><link 
rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full'/><link 
rel='http://schemas.google.com/g/2005#post' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full'/><link rel='http://schemas.
 google.com/g/2005#batch' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/batch'/><link rel='self' 
type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full?max-results=25'/><author><name>GData
 Test</name><email>libgdata test googlemail com</email></author><generator version='1.0' 
uri='http://www.google.com/m8/feeds'>Contacts</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry
 
gd:etag='&quot;YDwreyM.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6</id><updated>1970-01-01T00:00:00.000Z</updated><category
 scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>System Group: My Contacts</title><content>System 
Group: My Contacts</content><link rel='self' type='appl
 ication/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/6'/><gContact:systemGroup 
id='Contacts'/></entry><entry 
gd:etag='&quot;YDwreyM.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/d</id><updated>1970-01-01T00:00:00.000Z</updated><category
 scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>System Group: Friends</title><content>System 
Group: Friends</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/d'/><gContact:systemGroup 
id='Friends'/></entry><entry 
gd:etag='&quot;YDwreyM.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/e</id><updated>1970-01-01T00:00:00.000Z</updated><category
 scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>System Group: Family</title><conte
 nt>System Group: Family</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/e'/><gContact:systemGroup 
id='Family'/></entry><entry 
gd:etag='&quot;YDwreyM.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/f</id><updated>1970-01-01T00:00:00.000Z</updated><category
 scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>System Group: Coworkers</title><content>System 
Group: Coworkers</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/f'/><gContact:systemGroup 
id='Coworkers'/></entry><entry 
gd:etag='&quot;QXYzfDVSLit7I2A9WhFWE0sJQwM.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/2fde485a09fdbe59</id><updated>2013-08-01T13:24:30.884Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2
 013-08-01T13:24:30.884Z</app:edited><category scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>Test Group 3</title><content>Test Group 
3</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/2fde485a09fdbe59'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/2fde485a09fdbe59'/></entry><entry
 
gd:etag='&quot;QXg9cDVSLit7I2A9WhFWE0sJQwM.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/31334ff58d460e9c</id><updated>2013-08-01T13:24:30.668Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:24:30.668Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>Test Group 2</title><content>Test Group 
2</content><link rel='self' type='applicat
 ion/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/31334ff58d460e9c'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/31334ff58d460e9c'/></entry><entry
 
gd:etag='&quot;QXo9ezVSLit7I2A9WhFWE0sJQwM.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/4acbf0b68dc2aa64</id><updated>2013-08-01T13:24:30.463Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:24:30.463Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>Test Group 1</title><content>Test Group 
1</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/4acbf0b68dc2aa64'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/
 full/4acbf0b68dc2aa64'/></entry></feed>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <feed gd:etag="&quot;QH44ejVSLyt7I2A9XRdWFEQKQgA.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005"; xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/";>
+<  <id>libgdata test googlemail com</id>
+<  <updated>2014-11-08T23:49:01.032Z</updated>
+<  <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<  <title>GData Test's Contact Groups</title>
+<  <link rel="alternate" type="text/html" href="https://www.google.com/"/>
+<  <link rel="http://schemas.google.com/g/2005#feed"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full"/>
+<  <link rel="http://schemas.google.com/g/2005#post"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full"/>
+<  <link rel="http://schemas.google.com/g/2005#batch"; type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/batch"/>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full?max-results=25"/>
+<  <author>
+<   <name>GData Test</name>
+<   <email>libgdata test googlemail com</email>
+<  </author>
+<  <generator version="1.0" uri="http://www.google.com/m8/feeds";>Contacts</generator>
+<  <openSearch:totalResults>12</openSearch:totalResults>
+<  <openSearch:startIndex>1</openSearch:startIndex>
+<  <openSearch:itemsPerPage>25</openSearch:itemsPerPage>
+<  <entry gd:etag="&quot;YDwreyM.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/6</id>
+<   <updated>1970-01-01T00:00:00.000Z</updated>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>System Group: My Contacts</title>
+<   <content>System Group: My Contacts</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/6"/>
+<   <gContact:systemGroup id="Contacts"/>
+<  </entry>
+<  <entry gd:etag="&quot;YDwreyM.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/d</id>
+<   <updated>1970-01-01T00:00:00.000Z</updated>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>System Group: Friends</title>
+<   <content>System Group: Friends</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/d"/>
+<   <gContact:systemGroup id="Friends"/>
+<  </entry>
+<  <entry gd:etag="&quot;YDwreyM.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/e</id>
+<   <updated>1970-01-01T00:00:00.000Z</updated>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>System Group: Family</title>
+<   <content>System Group: Family</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/e"/>
+<   <gContact:systemGroup id="Family"/>
+<  </entry>
+<  <entry gd:etag="&quot;YDwreyM.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/f</id>
+<   <updated>1970-01-01T00:00:00.000Z</updated>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>System Group: Coworkers</title>
+<   <content>System Group: Coworkers</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/f"/>
+<   <gContact:systemGroup id="Coworkers"/>
+<  </entry>
+<  <entry gd:etag="&quot;RXg9fTVSLit7I2A9Wh9XGUwNRAc.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/115d0c4d0cd6f616</id>
+<   <updated>2014-03-15T21:02:14.665Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:02:14.665Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>D</title>
+<   <content>D</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/115d0c4d0cd6f616"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/115d0c4d0cd6f616"/>
+<  </entry>
+<  <entry gd:etag="&quot;SHY4cTVSLit7I2A9XRdWFEQKQgY.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/3bc435e78bb3779c</id>
+<   <updated>2014-11-08T23:48:49.839Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:48:49.839Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>Test Group 3</title>
+<   <content>Test Group 3</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/3bc435e78bb3779c"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/3bc435e78bb3779c"/>
+<  </entry>
+<  <entry gd:etag="&quot;R3s6ejVSLit7I2A9Wh9XGUwCQgw.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/4558a0fc0f98a74a</id>
+<   <updated>2014-03-15T21:23:06.512Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:23:06.512Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>A</title>
+<   <content>A</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/4558a0fc0f98a74a"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/4558a0fc0f98a74a"/>
+<  </entry>
+<  <entry gd:etag="&quot;SH44ejVSLit7I2A9XRdWFEQKQgY.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/53135b0d89099ac5</id>
+<   <updated>2014-11-08T23:48:49.032Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:48:49.032Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>Test Group 1</title>
+<   <content>Test Group 1</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/53135b0d89099ac5"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/53135b0d89099ac5"/>
+<  </entry>
+<  <entry gd:etag="&quot;Q34zeTVSLit7I2A9Wh9XGUwCQAY.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/5a5615828e8c12dc</id>
+<   <updated>2014-03-15T21:25:22.081Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:25:22.081Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>B</title>
+<   <content>B</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/5a5615828e8c12dc"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/5a5615828e8c12dc"/>
+<  </entry>
+<  <entry gd:etag="&quot;R3kyfzVSLyt7I2A9Wh9XGUwCQAI.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/5aa4ff9a0de39ade</id>
+<   <updated>2014-03-15T21:26:06.797Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:26:06.797Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>E</title>
+<   <content>E</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/5aa4ff9a0de39ade"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/5aa4ff9a0de39ade"/>
+<  </entry>
+<  <entry gd:etag="&quot;SHo7ezVSLit7I2A9XRdWFEQKQgY.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/732309600b1cf616</id>
+<   <updated>2014-11-08T23:48:49.403Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:48:49.403Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>Test Group 2</title>
+<   <content>Test Group 2</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/732309600b1cf616"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/732309600b1cf616"/>
+<  </entry>
+<  <entry gd:etag="&quot;Q3Y_fzVSLyt7I2A9Wh9XGUwCQAA.&quot;">
+<   <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/7b25d4e38c3f32b5</id>
+<   <updated>2014-03-15T21:25:42.847Z</updated>
+<   <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-03-15T21:25:42.847Z</app:edited>
+<   <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<   <title>C</title>
+<   <content>C</content>
+<   <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/7b25d4e38c3f32b5"/>
+<   <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/7b25d4e38c3f32b5"/>
+<  </entry>
+< </feed>
   
diff --git a/gdata/tests/traces/contacts/setup-batch-async b/gdata/tests/traces/contacts/setup-batch-async
index 7884e7c..01419e0 100644
--- a/gdata/tests/traces/contacts/setup-batch-async
+++ b/gdata/tests/traces/contacts/setup-batch-async
@@ -1,32 +1,49 @@
POST /m8/feeds/contacts/default/full HTTP/1.1
-> Soup-Debug-Timestamp: 1375362977
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 7 (0x8a20c0), SoupSocket 6 (0x8f3550)
+> Soup-Debug-Timestamp: 1415490479
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 13 (0x1ce90d0), SoupSocket 7 (0x1e32c40)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANYAAACEVu1_bRDNe9RgSD9ZBpOd3wrIlCGMT5j4obkMZr9xzaecCbh7Ad88EHTPx_-XXUENDehvQ4HWMlCeXcfB9dwJ3b18s7PWnls2aHGTGVYopRnLzMKvEdl4E2cyU4OZuMcgVVLVwro91w4JG_RSnZmd8J7IEj83YnoNbBiv4x8yjOcPb5WO3wEoyNzGKwcPvEu9b_NOF7EsbiC0nIOY4Lr4MZCkFzK3iUr1OKGLXZHB2HOFyuJHaMDpIUfubYW4M3w1YlkGBCBCfxr18lGeMluMVL2D9u6rELYQwCWwBkeyeg
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
Content-Type: application/atom+xml
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
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'>Fooish Bar</title><category 
term='http://schemas.google.com/contact/2008#contact' 
scheme='http://schemas.google.com/g/2005#kind'/><gd:name><gd:fullName>Fooish 
Bar</gd:fullName></gd:name></entry>
   
 < HTTP/1.1 201 Created
-< Soup-Debug-Timestamp: 1375362977
-< Soup-Debug: SoupMessage 7 (0x8a20c0)
-< Content-Type: application/atom+xml; charset=UTF-8; type=entry
-< Expires: Thu, 01 Aug 2013 13:16:17 GMT
-< Date: Thu, 01 Aug 2013 13:16:17 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
-< Vary: Accept, X-GData-Authorization, GData-Version
-< GData-Version: 3.1
-< ETag: "Rnw_eDVSLit7I2A9WhFWE0sITgM."
-< Location: https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/545ea63d0c76f4ac
-< Content-Location: 
https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/545ea63d0c76f4ac
+< Soup-Debug-Timestamp: 1415490479
+< Soup-Debug: SoupMessage 13 (0x1ce90d0)
+< ETag: "SHk8cTVSLit7I2A9XRdWFEQKQwM."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
+< Date: Sat, 08 Nov 2014 23:47:59 GMT
+< Expires: Sat, 08 Nov 2014 23:47:59 GMT
+< Cache-Control: private, max-age=0
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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;Rnw_eDVSLit7I2A9WhFWE0sITgM.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/545ea63d0c76f4ac</id><updated>2013-08-01T13:16:17.240Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:16:17.240Z</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/545ea63d0c76f4ac'/><link 
rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/545ea63d0c76f4ac'/><link 
rel
 ='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/545ea63d0c76f4ac'/><gd:name><gd:fullName>Fooish
 Bar</gd:fullName><gd:givenName>Fooish</gd:givenName><gd:familyName>Bar</gd:familyName></gd:name></entry>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <entry gd:etag="&quot;SHk8cTVSLit7I2A9XRdWFEQKQwM.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005";>
+<  <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/702a2a2988f4835f</id>
+<  <updated>2014-11-08T23:47:59.779Z</updated>
+<  <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:47:59.779Z</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/702a2a2988f4835f"/>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/702a2a2988f4835f"/>
+<  <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/702a2a2988f4835f"/>
+<  <gd:name>
+<   <gd:fullName>Fooish Bar</gd:fullName>
+<   <gd:givenName>Fooish</gd:givenName>
+<   <gd:familyName>Bar</gd:familyName>
+<  </gd:name>
+< </entry>
   
diff --git a/gdata/tests/traces/contacts/setup-query-all-contacts 
b/gdata/tests/traces/contacts/setup-query-all-contacts
index dddde16..1073c47 100644
--- a/gdata/tests/traces/contacts/setup-query-all-contacts
+++ b/gdata/tests/traces/contacts/setup-query-all-contacts
@@ -1,96 +1,135 @@
POST /m8/feeds/contacts/default/full HTTP/1.1
-> Soup-Debug-Timestamp: 1375253734
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 30 (0x7d2c80), SoupSocket 14 (0x72a310)
+> Soup-Debug-Timestamp: 1415489568
+> Soup-Debug: SoupSession 1 (0x15cd240), SoupMessage 33 (0x182f550), SoupSocket 16 (0x18d5a70)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAAXK6VbKHFb8MrY8VDDk8TplfYU8Pl8OJ_JDJA5Ku7Q1SXgGXmiXXNSumd183YRnbThEZBRN5nYygedI2kQsVKzOFACPFEPo7ShQaRGycnxE3GLDfmMWN_zc43HzWPka0-WgOvpmqpxLFWh0EYyD3pF7Yebk_jLBxJEBWU9v8FZrljhbtK-g4kiiBeuNs4kYYLTu-vF7GCSIcSC2WuHSkxI091viwmbQhZY_6fi_MaY_qgOPss9HlAHeJ543JSjtRmsVtK_4aNWbmaz9VcCr9lXEksu1dUTvroRvtlr8XyvOg
+> Authorization: Bearer ya29.uACgkznYPDckPkHNMU2MF2gRNGrNKqsjnalf5jZmQ0jV9jcp297YMiQop53msSbUJi5poX8LolhsSw
GData-Version: 3
Content-Type: application/atom+xml
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
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'></title><category 
term='http://schemas.google.com/contact/2008#contact' 
scheme='http://schemas.google.com/g/2005#kind'/><gd:name/><gContact:nickname>Test Contact 
1</gContact:nickname></entry>
   
 < HTTP/1.1 201 Created
-< Soup-Debug-Timestamp: 1375253734
-< Soup-Debug: SoupMessage 30 (0x7d2c80)
-< Content-Type: application/atom+xml; charset=UTF-8; type=entry
-< Expires: Wed, 31 Jul 2013 06:55:34 GMT
-< Date: Wed, 31 Jul 2013 06:55:34 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
-< Vary: Accept, X-GData-Authorization, GData-Version
-< GData-Version: 3.1
-< ETag: "RXw9fjVSLit7I2A9WhFWEkgJQAc."
-< Location: https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/169313448d21bd4c
-< Content-Location: 
https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/169313448d21bd4c
+< Soup-Debug-Timestamp: 1415489568
+< Soup-Debug: SoupMessage 33 (0x182f550)
+< ETag: "SXszcTVSLit7I2A9XRdWFEUDQgI."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
+< Date: Sat, 08 Nov 2014 23:32:48 GMT
+< Expires: Sat, 08 Nov 2014 23:32:48 GMT
+< Cache-Control: private, max-age=0
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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;RXw9fjVSLit7I2A9WhFWEkgJQAc.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/169313448d21bd4c</id><updated>2013-07-31T06:55:34.266Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-07-31T06:55:34.266Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#contact'/><title></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/169313448d21bd4c'/><link 
rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/169313448d21bd4c'/><link 
rel='edit' ty
 pe='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/169313448d21bd4c'/><gContact:nickname>Test
 Contact 1</gContact:nickname></entry>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <entry gd:etag="&quot;SXszcTVSLit7I2A9XRdWFEUDQgI.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005";>
+<  <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/1fb657e58c9a2eb9</id>
+<  <updated>2014-11-08T23:32:48.589Z</updated>
+<  <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:32:48.589Z</app:edited>
+<  <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<  <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/1fb657e58c9a2eb9"/>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1fb657e58c9a2eb9"/>
+<  <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/1fb657e58c9a2eb9"/>
+<  <gContact:nickname>Test Contact 1</gContact:nickname>
+< </entry>
   
POST /m8/feeds/contacts/default/full HTTP/1.1
-> Soup-Debug-Timestamp: 1375253734
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 31 (0x7d2aa0), SoupSocket 15 (0x72a250)
+> Soup-Debug-Timestamp: 1415489568
+> Soup-Debug: SoupSession 1 (0x15cd240), SoupMessage 34 (0x182f460), SoupSocket 17 (0x7ff4380578b0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAAXK6VbKHFb8MrY8VDDk8TplfYU8Pl8OJ_JDJA5Ku7Q1SXgGXmiXXNSumd183YRnbThEZBRN5nYygedI2kQsVKzOFACPFEPo7ShQaRGycnxE3GLDfmMWN_zc43HzWPka0-WgOvpmqpxLFWh0EYyD3pF7Yebk_jLBxJEBWU9v8FZrljhbtK-g4kiiBeuNs4kYYLTu-vF7GCSIcSC2WuHSkxI091viwmbQhZY_6fi_MaY_qgOPss9HlAHeJ543JSjtRmsVtK_4aNWbmaz9VcCr9lXEksu1dUTvroRvtlr8XyvOg
+> Authorization: Bearer ya29.uACgkznYPDckPkHNMU2MF2gRNGrNKqsjnalf5jZmQ0jV9jcp297YMiQop53msSbUJi5poX8LolhsSw
GData-Version: 3
Content-Type: application/atom+xml
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
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'></title><category 
term='http://schemas.google.com/contact/2008#contact' 
scheme='http://schemas.google.com/g/2005#kind'/><gd:name/><gContact:nickname>Test Contact 
2</gContact:nickname></entry>
   
 < HTTP/1.1 201 Created
-< Soup-Debug-Timestamp: 1375253734
-< Soup-Debug: SoupMessage 31 (0x7d2aa0)
-< Content-Type: application/atom+xml; charset=UTF-8; type=entry
-< Expires: Wed, 31 Jul 2013 06:55:34 GMT
-< Date: Wed, 31 Jul 2013 06:55:34 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
-< Vary: Accept, X-GData-Authorization, GData-Version
-< GData-Version: 3.1
-< ETag: "RXg_eDVSLit7I2A9WhFWEkgJQAc."
-< Location: https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/436c264a097a0e67
-< Content-Location: 
https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/436c264a097a0e67
+< Soup-Debug-Timestamp: 1415489569
+< Soup-Debug: SoupMessage 34 (0x182f460)
+< ETag: "SXY_fjVSLit7I2A9XRdWFEUDQgI."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
+< Date: Sat, 08 Nov 2014 23:32:49 GMT
+< Expires: Sat, 08 Nov 2014 23:32:49 GMT
+< Cache-Control: private, max-age=0
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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;RXg_eDVSLit7I2A9WhFWEkgJQAc.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/436c264a097a0e67</id><updated>2013-07-31T06:55:34.640Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-07-31T06:55:34.640Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#contact'/><title></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/436c264a097a0e67'/><link 
rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/436c264a097a0e67'/><link 
rel='edit' ty
 pe='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/436c264a097a0e67'/><gContact:nickname>Test
 Contact 2</gContact:nickname></entry>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <entry gd:etag="&quot;SXY_fjVSLit7I2A9XRdWFEUDQgI.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005";>
+<  <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/10ba35c58c59d676</id>
+<  <updated>2014-11-08T23:32:48.846Z</updated>
+<  <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:32:48.846Z</app:edited>
+<  <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<  <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/10ba35c58c59d676"/>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/10ba35c58c59d676"/>
+<  <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/10ba35c58c59d676"/>
+<  <gContact:nickname>Test Contact 2</gContact:nickname>
+< </entry>
   
POST /m8/feeds/contacts/default/full HTTP/1.1
-> Soup-Debug-Timestamp: 1375253734
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 32 (0x7d28c0), SoupSocket 16 (0x7fffe0028190)
+> Soup-Debug-Timestamp: 1415489569
+> Soup-Debug: SoupSession 1 (0x15cd240), SoupMessage 35 (0x182f370), SoupSocket 18 (0x7ff438057cc0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAAXK6VbKHFb8MrY8VDDk8TplfYU8Pl8OJ_JDJA5Ku7Q1SXgGXmiXXNSumd183YRnbThEZBRN5nYygedI2kQsVKzOFACPFEPo7ShQaRGycnxE3GLDfmMWN_zc43HzWPka0-WgOvpmqpxLFWh0EYyD3pF7Yebk_jLBxJEBWU9v8FZrljhbtK-g4kiiBeuNs4kYYLTu-vF7GCSIcSC2WuHSkxI091viwmbQhZY_6fi_MaY_qgOPss9HlAHeJ543JSjtRmsVtK_4aNWbmaz9VcCr9lXEksu1dUTvroRvtlr8XyvOg
+> Authorization: Bearer ya29.uACgkznYPDckPkHNMU2MF2gRNGrNKqsjnalf5jZmQ0jV9jcp297YMiQop53msSbUJi5poX8LolhsSw
GData-Version: 3
Content-Type: application/atom+xml
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
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'></title><category 
term='http://schemas.google.com/contact/2008#contact' 
scheme='http://schemas.google.com/g/2005#kind'/><gd:name/><gContact:nickname>Test Contact 
3</gContact:nickname></entry>
   
 < HTTP/1.1 201 Created
-< Soup-Debug-Timestamp: 1375253735
-< Soup-Debug: SoupMessage 32 (0x7d28c0)
-< Content-Type: application/atom+xml; charset=UTF-8; type=entry
-< Expires: Wed, 31 Jul 2013 06:55:34 GMT
-< Date: Wed, 31 Jul 2013 06:55:34 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
-< Vary: Accept, X-GData-Authorization, GData-Version
-< GData-Version: 3.1
-< ETag: "RXc7cDVSLit7I2A9WhFWEkgJQAc."
-< Location: https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/4e3d4cd30d411fa8
-< Content-Location: 
https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/4e3d4cd30d411fa8
+< Soup-Debug-Timestamp: 1415489569
+< Soup-Debug: SoupMessage 35 (0x182f370)
+< ETag: "SHo5fTVSLSt7I2A9XRdWFEUDQgI."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
+< Date: Sat, 08 Nov 2014 23:32:49 GMT
+< Expires: Sat, 08 Nov 2014 23:32:49 GMT
+< Cache-Control: private, max-age=0
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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;RXc7cDVSLit7I2A9WhFWEkgJQAc.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/4e3d4cd30d411fa8</id><updated>2013-07-31T06:55:34.908Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-07-31T06:55:34.908Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#contact'/><title></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/4e3d4cd30d411fa8'/><link 
rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/4e3d4cd30d411fa8'/><link 
rel='edit' ty
 pe='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/4e3d4cd30d411fa8'/><gContact:nickname>Test
 Contact 3</gContact:nickname></entry>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <entry gd:etag="&quot;SHo5fTVSLSt7I2A9XRdWFEUDQgI.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005";>
+<  <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/5997be300d23115b</id>
+<  <updated>2014-11-08T23:32:49.425Z</updated>
+<  <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:32:49.425Z</app:edited>
+<  <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<  <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/5997be300d23115b"/>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/5997be300d23115b"/>
+<  <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/5997be300d23115b"/>
+<  <gContact:nickname>Test Contact 3</gContact:nickname>
+< </entry>
   
diff --git a/gdata/tests/traces/contacts/setup-query-all-groups 
b/gdata/tests/traces/contacts/setup-query-all-groups
index ab0331f..108a1bb 100644
--- a/gdata/tests/traces/contacts/setup-query-all-groups
+++ b/gdata/tests/traces/contacts/setup-query-all-groups
@@ -1,96 +1,132 @@
POST /m8/feeds/groups/default/full HTTP/1.1
-> Soup-Debug-Timestamp: 1375363470
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 22 (0x844460), SoupSocket 10 (0x8f33e0)
+> Soup-Debug-Timestamp: 1415490528
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 38 (0x1ce91c0), SoupSocket 18 (0x1e329d0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAA8mPvhNGE-jJP2si5Hm0QdulqULfifDPolWHjOKLlxd2YLRzsE7It5Cr31q7NYMk1fYHKYBOoOFHZtlqyPu2_0ui_i2GKjj5ltAZxojvss1QJriJ5cdCRtMfIGV620jdp6BshoRtUYoCVLwcTLeyniROXrfyIVaZF7cn2z6dZ2D_6zi45FNAaR57jS4wTDt50MSEHYaiPQVvkuWhhqGir6M0igoQ67LHHO76-MnLu69LB-oi-yZIlCRTzshjg0vFebEbvHGtiardyGk1gs3RWb9_9OroE_zLLdLjMd12GSrQ
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
Content-Type: application/atom+xml
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
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'>Test Group 1</title><content type='text'>Test 
Group 1</content><category term='http://schemas.google.com/contact/2008#group' 
scheme='http://schemas.google.com/g/2005#kind'/></entry>
   
 < HTTP/1.1 201 Created
-< Soup-Debug-Timestamp: 1375363470
-< Soup-Debug: SoupMessage 22 (0x844460)
-< Content-Type: application/atom+xml; charset=UTF-8; type=entry
-< Expires: Thu, 01 Aug 2013 13:24:30 GMT
-< Date: Thu, 01 Aug 2013 13:24:30 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
-< Vary: Accept, X-GData-Authorization, GData-Version
-< GData-Version: 3.1
-< ETag: "QXo9ezVSLit7I2A9WhFWE0sJQwM."
-< Location: https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/4acbf0b68dc2aa64
-< Content-Location: 
https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/4acbf0b68dc2aa64
+< Soup-Debug-Timestamp: 1415490529
+< Soup-Debug: SoupMessage 38 (0x1ce91c0)
+< ETag: "SH44ejVSLit7I2A9XRdWFEQKQgY."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
+< Date: Sat, 08 Nov 2014 23:48:49 GMT
+< Expires: Sat, 08 Nov 2014 23:48:49 GMT
+< Cache-Control: private, max-age=0
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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;QXo9ezVSLit7I2A9WhFWE0sJQwM.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/4acbf0b68dc2aa64</id><updated>2013-08-01T13:24:30.463Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:24:30.463Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>Test Group 1</title><content>Test Group 
1</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/4acbf0b68dc2aa64'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/4acbf0b68dc2aa64'/></entry>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <entry gd:etag="&quot;SH44ejVSLit7I2A9XRdWFEQKQgY.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005";>
+<  <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/53135b0d89099ac5</id>
+<  <updated>2014-11-08T23:48:49.032Z</updated>
+<  <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:48:49.032Z</app:edited>
+<  <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<  <title>Test Group 1</title>
+<  <content>Test Group 1</content>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/53135b0d89099ac5"/>
+<  <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/53135b0d89099ac5"/>
+< </entry>
   
POST /m8/feeds/groups/default/full HTTP/1.1
-> Soup-Debug-Timestamp: 1375363470
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 23 (0x844460), SoupSocket 11 (0x8f3320)
+> Soup-Debug-Timestamp: 1415490529
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 39 (0x1ce90d0), SoupSocket 19 (0x1d6ea70)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAA8mPvhNGE-jJP2si5Hm0QdulqULfifDPolWHjOKLlxd2YLRzsE7It5Cr31q7NYMk1fYHKYBOoOFHZtlqyPu2_0ui_i2GKjj5ltAZxojvss1QJriJ5cdCRtMfIGV620jdp6BshoRtUYoCVLwcTLeyniROXrfyIVaZF7cn2z6dZ2D_6zi45FNAaR57jS4wTDt50MSEHYaiPQVvkuWhhqGir6M0igoQ67LHHO76-MnLu69LB-oi-yZIlCRTzshjg0vFebEbvHGtiardyGk1gs3RWb9_9OroE_zLLdLjMd12GSrQ
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
Content-Type: application/atom+xml
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
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'>Test Group 2</title><content type='text'>Test 
Group 2</content><category term='http://schemas.google.com/contact/2008#group' 
scheme='http://schemas.google.com/g/2005#kind'/></entry>
   
 < HTTP/1.1 201 Created
-< Soup-Debug-Timestamp: 1375363470
-< Soup-Debug: SoupMessage 23 (0x844460)
-< Content-Type: application/atom+xml; charset=UTF-8; type=entry
-< Expires: Thu, 01 Aug 2013 13:24:30 GMT
-< Date: Thu, 01 Aug 2013 13:24:30 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
-< Vary: Accept, X-GData-Authorization, GData-Version
-< GData-Version: 3.1
-< ETag: "QXg9cDVSLit7I2A9WhFWE0sJQwM."
-< Location: https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/31334ff58d460e9c
-< Content-Location: 
https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/31334ff58d460e9c
+< Soup-Debug-Timestamp: 1415490529
+< Soup-Debug: SoupMessage 39 (0x1ce90d0)
+< ETag: "SHo7ezVSLit7I2A9XRdWFEQKQgY."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
+< Date: Sat, 08 Nov 2014 23:48:49 GMT
+< Expires: Sat, 08 Nov 2014 23:48:49 GMT
+< Cache-Control: private, max-age=0
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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;QXg9cDVSLit7I2A9WhFWE0sJQwM.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/31334ff58d460e9c</id><updated>2013-08-01T13:24:30.668Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:24:30.668Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>Test Group 2</title><content>Test Group 
2</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/31334ff58d460e9c'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/31334ff58d460e9c'/></entry>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <entry gd:etag="&quot;SHo7ezVSLit7I2A9XRdWFEQKQgY.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005";>
+<  <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/732309600b1cf616</id>
+<  <updated>2014-11-08T23:48:49.403Z</updated>
+<  <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:48:49.403Z</app:edited>
+<  <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<  <title>Test Group 2</title>
+<  <content>Test Group 2</content>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/732309600b1cf616"/>
+<  <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/732309600b1cf616"/>
+< </entry>
   
POST /m8/feeds/groups/default/full HTTP/1.1
-> Soup-Debug-Timestamp: 1375363470
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 24 (0x844280), SoupSocket 12 (0x8f3260)
+> Soup-Debug-Timestamp: 1415490529
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 40 (0x1ce90d0), SoupSocket 20 (0x1d6e9a0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAA8mPvhNGE-jJP2si5Hm0QdulqULfifDPolWHjOKLlxd2YLRzsE7It5Cr31q7NYMk1fYHKYBOoOFHZtlqyPu2_0ui_i2GKjj5ltAZxojvss1QJriJ5cdCRtMfIGV620jdp6BshoRtUYoCVLwcTLeyniROXrfyIVaZF7cn2z6dZ2D_6zi45FNAaR57jS4wTDt50MSEHYaiPQVvkuWhhqGir6M0igoQ67LHHO76-MnLu69LB-oi-yZIlCRTzshjg0vFebEbvHGtiardyGk1gs3RWb9_9OroE_zLLdLjMd12GSrQ
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
Content-Type: application/atom+xml
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
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'>Test Group 3</title><content type='text'>Test 
Group 3</content><category term='http://schemas.google.com/contact/2008#group' 
scheme='http://schemas.google.com/g/2005#kind'/></entry>
   
 < HTTP/1.1 201 Created
-< Soup-Debug-Timestamp: 1375363470
-< Soup-Debug: SoupMessage 24 (0x844280)
-< Content-Type: application/atom+xml; charset=UTF-8; type=entry
-< Expires: Thu, 01 Aug 2013 13:24:30 GMT
-< Date: Thu, 01 Aug 2013 13:24:30 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
-< Vary: Accept, X-GData-Authorization, GData-Version
-< GData-Version: 3.1
-< ETag: "QXYzfDVSLit7I2A9WhFWE0sJQwM."
-< Location: https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/2fde485a09fdbe59
-< Content-Location: 
https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/2fde485a09fdbe59
+< Soup-Debug-Timestamp: 1415490530
+< Soup-Debug: SoupMessage 40 (0x1ce90d0)
+< ETag: "SHY4cTVSLit7I2A9XRdWFEQKQgY."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
+< Date: Sat, 08 Nov 2014 23:48:50 GMT
+< Expires: Sat, 08 Nov 2014 23:48:50 GMT
+< Cache-Control: private, max-age=0
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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;QXYzfDVSLit7I2A9WhFWE0sJQwM.&quot;'><id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/2fde485a09fdbe59</id><updated>2013-08-01T13:24:30.884Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:24:30.884Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#group'/><title>Test Group 3</title><content>Test Group 
3</content><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/2fde485a09fdbe59'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/2fde485a09fdbe59'/></entry>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <entry gd:etag="&quot;SHY4cTVSLit7I2A9XRdWFEQKQgY.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005";>
+<  <id>http://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/base/3bc435e78bb3779c</id>
+<  <updated>2014-11-08T23:48:49.839Z</updated>
+<  <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:48:49.839Z</app:edited>
+<  <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#group"/>
+<  <title>Test Group 3</title>
+<  <content>Test Group 3</content>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/3bc435e78bb3779c"/>
+<  <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/groups/libgdata.test%40googlemail.com/full/3bc435e78bb3779c"/>
+< </entry>
   
diff --git a/gdata/tests/traces/contacts/setup-temp-contact b/gdata/tests/traces/contacts/setup-temp-contact
index a76c236..5ce2669 100644
--- a/gdata/tests/traces/contacts/setup-temp-contact
+++ b/gdata/tests/traces/contacts/setup-temp-contact
@@ -1,32 +1,45 @@
POST /m8/feeds/contacts/default/full HTTP/1.1
-> Soup-Debug-Timestamp: 1375362485
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 41 (0x9b1460), SoupSocket 12 (0x8d7d60)
+> Soup-Debug-Timestamp: 1415490456
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 4 (0x1ce9490), SoupSocket 4 (0x1e32b70)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANYAAAAWvJzyD2J6d8-v1A-RQD2CZTFj0cXmZR5bhO3uJZYudiF6fHFDR_cHNwZtRrJtSgV87AW-TE_m-GQ4qhW8JBqLxAf_sJm20_8TtptsoN0SC0d9j-MJPc5QimHpp1nfIWrM5Ni9qmSQqpgB_vxH0KMXVyaC88nkQel0Hcz4U8Z4oH1Msd-XmDhGIlcgrWsKIiF0Mx4eOgsS8ces49E_U9HBXETdKHsFFg50rkU9wq6qx_eL7bzeTmra421N8QrAzP48g_zKQdSGmAEIs3ujmXW8mQCrmL0TGUhGuJBDqRyWqg
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
Content-Type: application/atom+xml
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
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'></title><category 
term='http://schemas.google.com/contact/2008#contact' 
scheme='http://schemas.google.com/g/2005#kind'/><gd:name/><gContact:nickname>Test Contact 
Esq.</gContact:nickname></entry>
   
 < HTTP/1.1 201 Created
-< Soup-Debug-Timestamp: 1375362485
-< Soup-Debug: SoupMessage 41 (0x9b1460)
-< Content-Type: application/atom+xml; charset=UTF-8; type=entry
-< Expires: Thu, 01 Aug 2013 13:08:05 GMT
-< Date: Thu, 01 Aug 2013 13:08:05 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
-< Vary: Accept, X-GData-Authorization, GData-Version
-< GData-Version: 3.1
-< ETag: "RHozeTVSLit7I2A9WhFWE0sIQww."
-< Location: https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/465577d88b0afee8
-< Content-Location: 
https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/465577d88b0afee8
+< Soup-Debug-Timestamp: 1415490456
+< Soup-Debug: SoupMessage 4 (0x1ce9490)
+< ETag: "R3gzezVSLit7I2A9XRdWFEQKQwE."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
+< Date: Sat, 08 Nov 2014 23:47:36 GMT
+< Expires: Sat, 08 Nov 2014 23:47:36 GMT
+< Cache-Control: private, max-age=0
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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;RHozeTVSLit7I2A9WhFWE0sIQww.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/465577d88b0afee8</id><updated>2013-08-01T13:08:05.481Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:08:05.481Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#contact'/><title></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/465577d88b0afee8'/><link 
rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/465577d88b0afee8'/><link 
rel='edit' ty
 pe='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/465577d88b0afee8'/><gContact:nickname>Test
 Contact Esq.</gContact:nickname></entry>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <entry gd:etag="&quot;R3gzezVSLit7I2A9XRdWFEQKQwE.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005";>
+<  <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/c8390ec0ef7f98a</id>
+<  <updated>2014-11-08T23:47:36.683Z</updated>
+<  <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:47:36.683Z</app:edited>
+<  <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<  <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/c8390ec0ef7f98a"/>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/c8390ec0ef7f98a"/>
+<  <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/c8390ec0ef7f98a"/>
+<  <gContact:nickname>Test Contact Esq.</gContact:nickname>
+< </entry>
   
diff --git a/gdata/tests/traces/contacts/setup-temp-contact-with-photo 
b/gdata/tests/traces/contacts/setup-temp-contact-with-photo
index a8b1fa7..72efed0 100644
--- a/gdata/tests/traces/contacts/setup-temp-contact-with-photo
+++ b/gdata/tests/traces/contacts/setup-temp-contact-with-photo
@@ -1,58 +1,75 @@
-> PUT /m8/feeds/photos/media/libgdata.test%40googlemail.com/465577d88b0afee8 HTTP/1.1
-> Soup-Debug-Timestamp: 1375362495
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 42 (0x9b1280), SoupSocket 12 (0x8d7d60)
+> PUT /m8/feeds/photos/media/libgdata.test%40googlemail.com/c8390ec0ef7f98a HTTP/1.1
+> Soup-Debug-Timestamp: 1415490466
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 5 (0x1ce9580), SoupSocket 4 (0x1e32b70)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANYAAAAWvJzyD2J6d8-v1A-RQD2CZTFj0cXmZR5bhO3uJZYudiF6fHFDR_cHNwZtRrJtSgV87AW-TE_m-GQ4qhW8JBqLxAf_sJm20_8TtptsoN0SC0d9j-MJPc5QimHpp1nfIWrM5Ni9qmSQqpgB_vxH0KMXVyaC88nkQel0Hcz4U8Z4oH1Msd-XmDhGIlcgrWsKIiF0Mx4eOgsS8ces49E_U9HBXETdKHsFFg50rkU9wq6qx_eL7bzeTmra421N8QrAzP48g_zKQdSGmAEIs3ujmXW8mQCrmL0TGUhGuJBDqRyWqg
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
If-Match: *
Content-Type: image/jpeg
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive

����
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375362496
-< Soup-Debug: SoupMessage 42 (0x9b1280)
+< Soup-Debug-Timestamp: 1415490467
+< Soup-Debug: SoupMessage 5 (0x1ce9580)
 < Content-Type: application/atom+xml; charset=UTF-8; type=entry
 < GData-Version: 3.1
-< ETag: "RmtJPnAWSit7I2A9KxQuEiQCNkcWGnsvRA8."
-< Date: Thu, 01 Aug 2013 13:08:16 GMT
-< Expires: Thu, 01 Aug 2013 13:08:16 GMT
-< Cache-control: private, max-age=0
+< ETag: "SQpAMGkCSit7I2BKMH8LVi5COFsJDFglViY."
+< Content-Encoding: gzip
+< Date: Sat, 08 Nov 2014 23:47:47 GMT
+< Expires: Sat, 08 Nov 2014 23:47:47 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.01
 < Transfer-Encoding: chunked
 < 
-< <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' 
xmlns:gd='http://schemas.google.com/g/2005' 
gd:etag='&quot;RmtJPnAWSit7I2A9KxQuEiQCNkcWGnsvRA8.&quot;'><id>http://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/465577d88b0afee8</id><updated>2013-08-01T13:08:05.481Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:08:05.481Z</app:edited><link rel='self' 
type='application/atom+xml' 
href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/465577d88b0afee8'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/465577d88b0afee8'/></entry>
+< <?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://www.w3.org/2005/Atom' 
xmlns:gd='http://schemas.google.com/g/2005' 
gd:etag='&quot;SQpAMGkCSit7I2BKMH8LVi5COFsJDFglViY.&quot;'><id>http://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/c8390ec0ef7f98a</id><updated>2014-11-08T23:47:46.987Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2014-11-08T23:47:46.987Z</app:edited><link rel='self' 
type='application/atom+xml' 
href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/c8390ec0ef7f98a'/><link 
rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/photos/media/libgdata.test%40googlemail.com/c8390ec0ef7f98a'/></entry>
   
-> GET /m8/feeds/contacts/libgdata.test%40googlemail.com/full/465577d88b0afee8 HTTP/1.1
-> Soup-Debug-Timestamp: 1375362506
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 43 (0x9b10a0), SoupSocket 12 (0x8d7d60)
+> GET /m8/feeds/contacts/libgdata.test%40googlemail.com/full/c8390ec0ef7f98a HTTP/1.1
+> Soup-Debug-Timestamp: 1415490477
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 6 (0x1ce9580), SoupSocket 4 (0x1e32b70)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANYAAAAWvJzyD2J6d8-v1A-RQD2CZTFj0cXmZR5bhO3uJZYudiF6fHFDR_cHNwZtRrJtSgV87AW-TE_m-GQ4qhW8JBqLxAf_sJm20_8TtptsoN0SC0d9j-MJPc5QimHpp1nfIWrM5Ni9qmSQqpgB_vxH0KMXVyaC88nkQel0Hcz4U8Z4oH1Msd-XmDhGIlcgrWsKIiF0Mx4eOgsS8ces49E_U9HBXETdKHsFFg50rkU9wq6qx_eL7bzeTmra421N8QrAzP48g_zKQdSGmAEIs3ujmXW8mQCrmL0TGUhGuJBDqRyWqg
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375362507
-< Soup-Debug: SoupMessage 43 (0x9b10a0)
-< Content-Type: application/atom+xml; charset=UTF-8; type=entry
-< Expires: Thu, 01 Aug 2013 13:08:26 GMT
-< Date: Thu, 01 Aug 2013 13:08:26 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
-< Vary: Accept, X-GData-Authorization, GData-Version
-< GData-Version: 3.1
-< ETag: "RHc-eDVSLit7I2A9WhFWE0sIQw0."
-< Last-Modified: Thu, 01 Aug 2013 13:08:15 GMT
+< Soup-Debug-Timestamp: 1415490477
+< Soup-Debug: SoupMessage 6 (0x1ce9580)
+< Expires: Sat, 08 Nov 2014 23:47:57 GMT
+< Date: Sat, 08 Nov 2014 23:47:57 GMT
+< Cache-Control: private, max-age=0, must-revalidate, no-transform
+< ETag: "R3czfzVSLit7I2A9XRdWFEQKQwI."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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;RHc-eDVSLit7I2A9WhFWE0sIQw0.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/465577d88b0afee8</id><updated>2013-08-01T13:08:15.950Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:08:15.950Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#contact'/><title></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/465577d88b0afee8' 
gd:etag='&quot;Ug8gAXAjSit7I2BBEEQJSjFPBQwfNDlxbxc.&quot;'/><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%4
 0googlemail.com/full/465577d88b0afee8'/><link rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/465577d88b0afee8'/><gContact:nickname>Test
 Contact Esq.</gContact:nickname></entry>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <entry gd:etag="&quot;R3czfzVSLit7I2A9XRdWFEQKQwI.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005";>
+<  <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/c8390ec0ef7f98a</id>
+<  <updated>2014-11-08T23:47:46.987Z</updated>
+<  <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:47:46.987Z</app:edited>
+<  <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<  <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/c8390ec0ef7f98a"; 
gd:etag="&quot;SQpAMGkCSit7I2BKMH8LVi5COFsJDFglViY.&quot;"/>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/c8390ec0ef7f98a"/>
+<  <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/c8390ec0ef7f98a"/>
+<  <gContact:nickname>Test Contact Esq.</gContact:nickname>
+< </entry>
   
diff --git a/gdata/tests/traces/contacts/teardown-batch-async 
b/gdata/tests/traces/contacts/teardown-batch-async
index 1b78870..5de9497 100644
--- a/gdata/tests/traces/contacts/teardown-batch-async
+++ b/gdata/tests/traces/contacts/teardown-batch-async
@@ -1,25 +1,30 @@
-> DELETE /m8/feeds/contacts/libgdata.test%40googlemail.com/full/545ea63d0c76f4ac HTTP/1.1
-> Soup-Debug-Timestamp: 1375362977
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 8 (0x8a22a0), SoupSocket 6 (0x8f3550)
+> DELETE /m8/feeds/contacts/libgdata.test%40googlemail.com/full/702a2a2988f4835f HTTP/1.1
+> Soup-Debug-Timestamp: 1415490480
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 14 (0x1ce90d0), SoupSocket 7 (0x1e32c40)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANYAAACEVu1_bRDNe9RgSD9ZBpOd3wrIlCGMT5j4obkMZr9xzaecCbh7Ad88EHTPx_-XXUENDehvQ4HWMlCeXcfB9dwJ3b18s7PWnls2aHGTGVYopRnLzMKvEdl4E2cyU4OZuMcgVVLVwro91w4JG_RSnZmd8J7IEj83YnoNbBiv4x8yjOcPb5WO3wEoyNzGKwcPvEu9b_NOF7EsbiC0nIOY4Lr4MZCkFzK3iUr1OKGLXZHB2HOFyuJHaMDpIUfubYW4M3w1YlkGBCBCfxr18lGeMluMVL2D9u6rELYQwCWwBkeyeg
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
-> If-Match: "Rnw_eDVSLit7I2A9WhFWE0sITgM."
+> If-Match: "SHk8cTVSLit7I2A9XRdWFEQKQwM."
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375362977
-< Soup-Debug: SoupMessage 8 (0x8a22a0)
-< GData-Version: 3.1
-< Date: Thu, 01 Aug 2013 13:16:17 GMT
-< Expires: Thu, 01 Aug 2013 13:16:17 GMT
-< Cache-control: private, max-age=0
+< Soup-Debug-Timestamp: 1415490480
+< Soup-Debug: SoupMessage 14 (0x1ce90d0)
+< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
+< Pragma: no-cache
+< Expires: Fri, 01 Jan 1990 00:00:00 GMT
+< Date: Sat, 08 Nov 2014 23:48:00 GMT
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Content-Length: 0
 < Server: GSE
-< Content-Type: text/html; charset=UTF-8
+< Alternate-Protocol: 443:quic,p=0.01
 < 
   
diff --git a/gdata/tests/traces/contacts/teardown-insert b/gdata/tests/traces/contacts/teardown-insert
index a835da6..0a1cbf8 100644
--- a/gdata/tests/traces/contacts/teardown-insert
+++ b/gdata/tests/traces/contacts/teardown-insert
@@ -1,25 +1,30 @@
-> DELETE /m8/feeds/contacts/libgdata.test%40googlemail.com/full/669aee080ec47f33 HTTP/1.1
-> Soup-Debug-Timestamp: 1375253709
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 2 (0x7d2c80), SoupSocket 1 (0x72a250)
+> DELETE /m8/feeds/contacts/libgdata.test%40googlemail.com/full/3d8219568aedc2a9 HTTP/1.1
+> Soup-Debug-Timestamp: 1415489531
+> Soup-Debug: SoupSession 1 (0x15cd240), SoupMessage 5 (0x182f550), SoupSocket 4 (0x18d5c10)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAAXK6VbKHFb8MrY8VDDk8TplfYU8Pl8OJ_JDJA5Ku7Q1SXgGXmiXXNSumd183YRnbThEZBRN5nYygedI2kQsVKzOFACPFEPo7ShQaRGycnxE3GLDfmMWN_zc43HzWPka0-WgOvpmqpxLFWh0EYyD3pF7Yebk_jLBxJEBWU9v8FZrljhbtK-g4kiiBeuNs4kYYLTu-vF7GCSIcSC2WuHSkxI091viwmbQhZY_6fi_MaY_qgOPss9HlAHeJ543JSjtRmsVtK_4aNWbmaz9VcCr9lXEksu1dUTvroRvtlr8XyvOg
+> Authorization: Bearer ya29.uACgkznYPDckPkHNMU2MF2gRNGrNKqsjnalf5jZmQ0jV9jcp297YMiQop53msSbUJi5poX8LolhsSw
GData-Version: 3
-> If-Match: "SXcyfTVSLit7I2A9WhFWEkgJQAQ."
+> If-Match: "QHo8cDVSLit7I2A9XRdWFEUDQgc."
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375253709
-< Soup-Debug: SoupMessage 2 (0x7d2c80)
-< GData-Version: 3.1
-< Date: Wed, 31 Jul 2013 06:55:09 GMT
-< Expires: Wed, 31 Jul 2013 06:55:09 GMT
-< Cache-control: private, max-age=0
+< Soup-Debug-Timestamp: 1415489532
+< Soup-Debug: SoupMessage 5 (0x182f550)
+< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
+< Pragma: no-cache
+< Expires: Fri, 01 Jan 1990 00:00:00 GMT
+< Date: Sat, 08 Nov 2014 23:32:12 GMT
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Content-Length: 0
 < Server: GSE
-< Content-Type: text/html; charset=UTF-8
+< Alternate-Protocol: 443:quic,p=0.01
 < 
   
diff --git a/gdata/tests/traces/contacts/teardown-insert-group 
b/gdata/tests/traces/contacts/teardown-insert-group
index cbbdf9d..19e8df0 100644
--- a/gdata/tests/traces/contacts/teardown-insert-group
+++ b/gdata/tests/traces/contacts/teardown-insert-group
@@ -1,25 +1,30 @@
-> DELETE /m8/feeds/groups/libgdata.test%40googlemail.com/full/1fff1bc78f083ca0 HTTP/1.1
-> Soup-Debug-Timestamp: 1375363915
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 7 (0x8a22a0), SoupSocket 4 (0x8f3190)
+> DELETE /m8/feeds/groups/libgdata.test%40googlemail.com/full/6beff9268d4dbc1f HTTP/1.1
+> Soup-Debug-Timestamp: 1415490563
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 51 (0x1ce9580), SoupSocket 24 (0x7f4510044dd0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAADtjTOJJU3aN2xxS0RFYXiikPITkpt4b3hR1fQ9TbQlx-Cgsdk1AW48YqFLPUdI1ykyKbaS_VSAfv5B_IGEi3Wa1McgCuVz7nIjv_OMYVERFthN0-Nj95PWV19GJMPKDhcOwzN_W2wjFTXSyHmhy6pNoc48jWohDPHCzv6G9jsEj9KOTlHT6F9pGe3H3bGf0ga0s6bPJ6Yv2orycMebH1EDv5crVSPRx6e7Uy50qDXVTJH1zXUXShunNRKTm09H_Tmfwn1fdBVj6GshI4GoLbir6j-SD4YXN7PWJEmHVsyBYg
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
-> If-Match: "RHk5ezVSLit7I2A9WhFWE0sJTgQ."
+> If-Match: "Qnw6fzVSLit7I2A9XRdWFEQKQgE."
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375363916
-< Soup-Debug: SoupMessage 7 (0x8a22a0)
-< GData-Version: 3.1
-< Date: Thu, 01 Aug 2013 13:31:56 GMT
-< Expires: Thu, 01 Aug 2013 13:31:56 GMT
-< Cache-control: private, max-age=0
+< Soup-Debug-Timestamp: 1415490563
+< Soup-Debug: SoupMessage 51 (0x1ce9580)
+< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
+< Pragma: no-cache
+< Expires: Fri, 01 Jan 1990 00:00:00 GMT
+< Date: Sat, 08 Nov 2014 23:49:23 GMT
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Content-Length: 0
 < Server: GSE
-< Content-Type: text/html; charset=UTF-8
+< Alternate-Protocol: 443:quic,p=0.01
 < 
   
diff --git a/gdata/tests/traces/contacts/teardown-query-all-contacts 
b/gdata/tests/traces/contacts/teardown-query-all-contacts
index 6af83d4..02dd59c 100644
--- a/gdata/tests/traces/contacts/teardown-query-all-contacts
+++ b/gdata/tests/traces/contacts/teardown-query-all-contacts
@@ -1,75 +1,90 @@
-> DELETE /m8/feeds/contacts/libgdata.test%40googlemail.com/full/169313448d21bd4c HTTP/1.1
-> Soup-Debug-Timestamp: 1375253740
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 34 (0x7d28c0), SoupSocket 16 (0x7fffe0028190)
+> DELETE /m8/feeds/contacts/libgdata.test%40googlemail.com/full/1fb657e58c9a2eb9 HTTP/1.1
+> Soup-Debug-Timestamp: 1415489575
+> Soup-Debug: SoupSession 1 (0x15cd240), SoupMessage 37 (0x182f280), SoupSocket 18 (0x7ff438057cc0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAAXK6VbKHFb8MrY8VDDk8TplfYU8Pl8OJ_JDJA5Ku7Q1SXgGXmiXXNSumd183YRnbThEZBRN5nYygedI2kQsVKzOFACPFEPo7ShQaRGycnxE3GLDfmMWN_zc43HzWPka0-WgOvpmqpxLFWh0EYyD3pF7Yebk_jLBxJEBWU9v8FZrljhbtK-g4kiiBeuNs4kYYLTu-vF7GCSIcSC2WuHSkxI091viwmbQhZY_6fi_MaY_qgOPss9HlAHeJ543JSjtRmsVtK_4aNWbmaz9VcCr9lXEksu1dUTvroRvtlr8XyvOg
+> Authorization: Bearer ya29.uACgkznYPDckPkHNMU2MF2gRNGrNKqsjnalf5jZmQ0jV9jcp297YMiQop53msSbUJi5poX8LolhsSw
GData-Version: 3
-> If-Match: "RXw9fjVSLit7I2A9WhFWEkgJQAc."
+> If-Match: "SXszcTVSLit7I2A9XRdWFEUDQgI."
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375253740
-< Soup-Debug: SoupMessage 34 (0x7d28c0)
-< GData-Version: 3.1
-< Date: Wed, 31 Jul 2013 06:55:40 GMT
-< Expires: Wed, 31 Jul 2013 06:55:40 GMT
-< Cache-control: private, max-age=0
+< Soup-Debug-Timestamp: 1415489575
+< Soup-Debug: SoupMessage 37 (0x182f280)
+< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
+< Pragma: no-cache
+< Expires: Fri, 01 Jan 1990 00:00:00 GMT
+< Date: Sat, 08 Nov 2014 23:32:55 GMT
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Content-Length: 0
 < Server: GSE
-< Content-Type: text/html; charset=UTF-8
+< Alternate-Protocol: 443:quic,p=0.01
 < 
   
-> DELETE /m8/feeds/contacts/libgdata.test%40googlemail.com/full/436c264a097a0e67 HTTP/1.1
-> Soup-Debug-Timestamp: 1375253740
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 35 (0x7d2aa0), SoupSocket 16 (0x7fffe0028190)
+> DELETE /m8/feeds/contacts/libgdata.test%40googlemail.com/full/10ba35c58c59d676 HTTP/1.1
+> Soup-Debug-Timestamp: 1415489575
+> Soup-Debug: SoupSession 1 (0x15cd240), SoupMessage 38 (0x182f190), SoupSocket 18 (0x7ff438057cc0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAAXK6VbKHFb8MrY8VDDk8TplfYU8Pl8OJ_JDJA5Ku7Q1SXgGXmiXXNSumd183YRnbThEZBRN5nYygedI2kQsVKzOFACPFEPo7ShQaRGycnxE3GLDfmMWN_zc43HzWPka0-WgOvpmqpxLFWh0EYyD3pF7Yebk_jLBxJEBWU9v8FZrljhbtK-g4kiiBeuNs4kYYLTu-vF7GCSIcSC2WuHSkxI091viwmbQhZY_6fi_MaY_qgOPss9HlAHeJ543JSjtRmsVtK_4aNWbmaz9VcCr9lXEksu1dUTvroRvtlr8XyvOg
+> Authorization: Bearer ya29.uACgkznYPDckPkHNMU2MF2gRNGrNKqsjnalf5jZmQ0jV9jcp297YMiQop53msSbUJi5poX8LolhsSw
GData-Version: 3
-> If-Match: "RXg_eDVSLit7I2A9WhFWEkgJQAc."
+> If-Match: "SXY_fjVSLit7I2A9XRdWFEUDQgI."
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375253740
-< Soup-Debug: SoupMessage 35 (0x7d2aa0)
-< GData-Version: 3.1
-< Date: Wed, 31 Jul 2013 06:55:40 GMT
-< Expires: Wed, 31 Jul 2013 06:55:40 GMT
-< Cache-control: private, max-age=0
+< Soup-Debug-Timestamp: 1415489575
+< Soup-Debug: SoupMessage 38 (0x182f190)
+< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
+< Pragma: no-cache
+< Expires: Fri, 01 Jan 1990 00:00:00 GMT
+< Date: Sat, 08 Nov 2014 23:32:55 GMT
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Content-Length: 0
 < Server: GSE
-< Content-Type: text/html; charset=UTF-8
+< Alternate-Protocol: 443:quic,p=0.01
 < 
   
-> DELETE /m8/feeds/contacts/libgdata.test%40googlemail.com/full/4e3d4cd30d411fa8 HTTP/1.1
-> Soup-Debug-Timestamp: 1375253740
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 36 (0x7d2c80), SoupSocket 16 (0x7fffe0028190)
+> DELETE /m8/feeds/contacts/libgdata.test%40googlemail.com/full/5997be300d23115b HTTP/1.1
+> Soup-Debug-Timestamp: 1415489575
+> Soup-Debug: SoupSession 1 (0x15cd240), SoupMessage 39 (0x182f0a0), SoupSocket 18 (0x7ff438057cc0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAAXK6VbKHFb8MrY8VDDk8TplfYU8Pl8OJ_JDJA5Ku7Q1SXgGXmiXXNSumd183YRnbThEZBRN5nYygedI2kQsVKzOFACPFEPo7ShQaRGycnxE3GLDfmMWN_zc43HzWPka0-WgOvpmqpxLFWh0EYyD3pF7Yebk_jLBxJEBWU9v8FZrljhbtK-g4kiiBeuNs4kYYLTu-vF7GCSIcSC2WuHSkxI091viwmbQhZY_6fi_MaY_qgOPss9HlAHeJ543JSjtRmsVtK_4aNWbmaz9VcCr9lXEksu1dUTvroRvtlr8XyvOg
+> Authorization: Bearer ya29.uACgkznYPDckPkHNMU2MF2gRNGrNKqsjnalf5jZmQ0jV9jcp297YMiQop53msSbUJi5poX8LolhsSw
GData-Version: 3
-> If-Match: "RXc7cDVSLit7I2A9WhFWEkgJQAc."
+> If-Match: "SHo5fTVSLSt7I2A9XRdWFEUDQgI."
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375253741
-< Soup-Debug: SoupMessage 36 (0x7d2c80)
-< GData-Version: 3.1
-< Date: Wed, 31 Jul 2013 06:55:40 GMT
-< Expires: Wed, 31 Jul 2013 06:55:40 GMT
-< Cache-control: private, max-age=0
+< Soup-Debug-Timestamp: 1415489576
+< Soup-Debug: SoupMessage 39 (0x182f0a0)
+< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
+< Pragma: no-cache
+< Expires: Fri, 01 Jan 1990 00:00:00 GMT
+< Date: Sat, 08 Nov 2014 23:32:56 GMT
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Content-Length: 0
 < Server: GSE
-< Content-Type: text/html; charset=UTF-8
+< Alternate-Protocol: 443:quic,p=0.01
 < 
   
diff --git a/gdata/tests/traces/contacts/teardown-query-all-groups 
b/gdata/tests/traces/contacts/teardown-query-all-groups
index 3c2aeae..be208e1 100644
--- a/gdata/tests/traces/contacts/teardown-query-all-groups
+++ b/gdata/tests/traces/contacts/teardown-query-all-groups
@@ -1,75 +1,90 @@
-> DELETE /m8/feeds/groups/libgdata.test%40googlemail.com/full/4acbf0b68dc2aa64 HTTP/1.1
-> Soup-Debug-Timestamp: 1375363482
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 28 (0x8440a0), SoupSocket 13 (0x8f3320)
+> DELETE /m8/feeds/groups/libgdata.test%40googlemail.com/full/53135b0d89099ac5 HTTP/1.1
+> Soup-Debug-Timestamp: 1415490541
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 44 (0x1ce91c0), SoupSocket 21 (0x7f4510044ea0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAA8mPvhNGE-jJP2si5Hm0QdulqULfifDPolWHjOKLlxd2YLRzsE7It5Cr31q7NYMk1fYHKYBOoOFHZtlqyPu2_0ui_i2GKjj5ltAZxojvss1QJriJ5cdCRtMfIGV620jdp6BshoRtUYoCVLwcTLeyniROXrfyIVaZF7cn2z6dZ2D_6zi45FNAaR57jS4wTDt50MSEHYaiPQVvkuWhhqGir6M0igoQ67LHHO76-MnLu69LB-oi-yZIlCRTzshjg0vFebEbvHGtiardyGk1gs3RWb9_9OroE_zLLdLjMd12GSrQ
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
-> If-Match: "QXo9ezVSLit7I2A9WhFWE0sJQwM."
+> If-Match: "SH44ejVSLit7I2A9XRdWFEQKQgY."
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375363482
-< Soup-Debug: SoupMessage 28 (0x8440a0)
-< GData-Version: 3.1
-< Date: Thu, 01 Aug 2013 13:24:42 GMT
-< Expires: Thu, 01 Aug 2013 13:24:42 GMT
-< Cache-control: private, max-age=0
+< Soup-Debug-Timestamp: 1415490541
+< Soup-Debug: SoupMessage 44 (0x1ce91c0)
+< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
+< Pragma: no-cache
+< Expires: Fri, 01 Jan 1990 00:00:00 GMT
+< Date: Sat, 08 Nov 2014 23:49:01 GMT
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Content-Length: 0
 < Server: GSE
-< Content-Type: text/html; charset=UTF-8
+< Alternate-Protocol: 443:quic,p=0.01
 < 
   
-> DELETE /m8/feeds/groups/libgdata.test%40googlemail.com/full/31334ff58d460e9c HTTP/1.1
-> Soup-Debug-Timestamp: 1375363482
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 29 (0x8440a0), SoupSocket 13 (0x8f3320)
+> DELETE /m8/feeds/groups/libgdata.test%40googlemail.com/full/732309600b1cf616 HTTP/1.1
+> Soup-Debug-Timestamp: 1415490541
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 45 (0x1ce92b0), SoupSocket 21 (0x7f4510044ea0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAA8mPvhNGE-jJP2si5Hm0QdulqULfifDPolWHjOKLlxd2YLRzsE7It5Cr31q7NYMk1fYHKYBOoOFHZtlqyPu2_0ui_i2GKjj5ltAZxojvss1QJriJ5cdCRtMfIGV620jdp6BshoRtUYoCVLwcTLeyniROXrfyIVaZF7cn2z6dZ2D_6zi45FNAaR57jS4wTDt50MSEHYaiPQVvkuWhhqGir6M0igoQ67LHHO76-MnLu69LB-oi-yZIlCRTzshjg0vFebEbvHGtiardyGk1gs3RWb9_9OroE_zLLdLjMd12GSrQ
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
-> If-Match: "QXg9cDVSLit7I2A9WhFWE0sJQwM."
+> If-Match: "SHo7ezVSLit7I2A9XRdWFEQKQgY."
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375363482
-< Soup-Debug: SoupMessage 29 (0x8440a0)
-< GData-Version: 3.1
-< Date: Thu, 01 Aug 2013 13:24:42 GMT
-< Expires: Thu, 01 Aug 2013 13:24:42 GMT
-< Cache-control: private, max-age=0
+< Soup-Debug-Timestamp: 1415490541
+< Soup-Debug: SoupMessage 45 (0x1ce92b0)
+< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
+< Pragma: no-cache
+< Expires: Fri, 01 Jan 1990 00:00:00 GMT
+< Date: Sat, 08 Nov 2014 23:49:01 GMT
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Content-Length: 0
 < Server: GSE
-< Content-Type: text/html; charset=UTF-8
+< Alternate-Protocol: 443:quic,p=0.01
 < 
   
-> DELETE /m8/feeds/groups/libgdata.test%40googlemail.com/full/2fde485a09fdbe59 HTTP/1.1
-> Soup-Debug-Timestamp: 1375363482
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 30 (0x844280), SoupSocket 13 (0x8f3320)
+> DELETE /m8/feeds/groups/libgdata.test%40googlemail.com/full/3bc435e78bb3779c HTTP/1.1
+> Soup-Debug-Timestamp: 1415490541
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 46 (0x1ce93a0), SoupSocket 21 (0x7f4510044ea0)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANUAAAA8mPvhNGE-jJP2si5Hm0QdulqULfifDPolWHjOKLlxd2YLRzsE7It5Cr31q7NYMk1fYHKYBOoOFHZtlqyPu2_0ui_i2GKjj5ltAZxojvss1QJriJ5cdCRtMfIGV620jdp6BshoRtUYoCVLwcTLeyniROXrfyIVaZF7cn2z6dZ2D_6zi45FNAaR57jS4wTDt50MSEHYaiPQVvkuWhhqGir6M0igoQ67LHHO76-MnLu69LB-oi-yZIlCRTzshjg0vFebEbvHGtiardyGk1gs3RWb9_9OroE_zLLdLjMd12GSrQ
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
-> If-Match: "QXYzfDVSLit7I2A9WhFWE0sJQwM."
+> If-Match: "SHY4cTVSLit7I2A9XRdWFEQKQgY."
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375363482
-< Soup-Debug: SoupMessage 30 (0x844280)
-< GData-Version: 3.1
-< Date: Thu, 01 Aug 2013 13:24:42 GMT
-< Expires: Thu, 01 Aug 2013 13:24:42 GMT
-< Cache-control: private, max-age=0
+< Soup-Debug-Timestamp: 1415490541
+< Soup-Debug: SoupMessage 46 (0x1ce93a0)
+< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
+< Pragma: no-cache
+< Expires: Fri, 01 Jan 1990 00:00:00 GMT
+< Date: Sat, 08 Nov 2014 23:49:01 GMT
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Content-Length: 0
 < Server: GSE
-< Content-Type: text/html; charset=UTF-8
+< Alternate-Protocol: 443:quic,p=0.01
 < 
   
diff --git a/gdata/tests/traces/contacts/teardown-temp-contact 
b/gdata/tests/traces/contacts/teardown-temp-contact
index e17145d..91953c2 100644
--- a/gdata/tests/traces/contacts/teardown-temp-contact
+++ b/gdata/tests/traces/contacts/teardown-temp-contact
@@ -1,53 +1,72 @@
-> GET /m8/feeds/contacts/libgdata.test%40googlemail.com/full/465577d88b0afee8 HTTP/1.1
-> Soup-Debug-Timestamp: 1375362507
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 45 (0x9b10a0), SoupSocket 12 (0x8d7d60)
+> GET /m8/feeds/contacts/libgdata.test%40googlemail.com/full/c8390ec0ef7f98a HTTP/1.1
+> Soup-Debug-Timestamp: 1415490478
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 8 (0x1ce9490), SoupSocket 4 (0x1e32b70)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANYAAAAWvJzyD2J6d8-v1A-RQD2CZTFj0cXmZR5bhO3uJZYudiF6fHFDR_cHNwZtRrJtSgV87AW-TE_m-GQ4qhW8JBqLxAf_sJm20_8TtptsoN0SC0d9j-MJPc5QimHpp1nfIWrM5Ni9qmSQqpgB_vxH0KMXVyaC88nkQel0Hcz4U8Z4oH1Msd-XmDhGIlcgrWsKIiF0Mx4eOgsS8ces49E_U9HBXETdKHsFFg50rkU9wq6qx_eL7bzeTmra421N8QrAzP48g_zKQdSGmAEIs3ujmXW8mQCrmL0TGUhGuJBDqRyWqg
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375362507
-< Soup-Debug: SoupMessage 45 (0x9b10a0)
-< Content-Type: application/atom+xml; charset=UTF-8; type=entry
-< Expires: Thu, 01 Aug 2013 13:08:27 GMT
-< Date: Thu, 01 Aug 2013 13:08:27 GMT
-< Cache-control: private, max-age=0, must-revalidate, no-transform
-< Vary: Accept, X-GData-Authorization, GData-Version
-< GData-Version: 3.1
-< ETag: "RHc-eDVSLit7I2A9WhFWE0sIQw0."
-< Last-Modified: Thu, 01 Aug 2013 13:08:15 GMT
+< Soup-Debug-Timestamp: 1415490478
+< Soup-Debug: SoupMessage 8 (0x1ce9490)
+< Expires: Sat, 08 Nov 2014 23:47:58 GMT
+< Date: Sat, 08 Nov 2014 23:47:58 GMT
+< Cache-Control: private, max-age=0, must-revalidate, no-transform
+< ETag: "SX4yeDVSLit7I2A9XRdWFEQKQwM."
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml; charset=UTF-8
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Server: GSE
+< Content-Encoding: gzip
+< Alternate-Protocol: 443:quic,p=0.01
 < 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;RHc-eDVSLit7I2A9WhFWE0sIQw0.&quot;'><id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/465577d88b0afee8</id><updated>2013-08-01T13:08:15.950Z</updated><app:edited
 xmlns:app='http://www.w3.org/2007/app'>2013-08-01T13:08:15.950Z</app:edited><category 
scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/contact/2008#contact'/><title></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/465577d88b0afee8' 
gd:etag='&quot;Ug8gAXAjSit7I2BBEEQJSjFPBQwfNDlxbxc.&quot;'/><link rel='self' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%4
 0googlemail.com/full/465577d88b0afee8'/><link rel='edit' type='application/atom+xml' 
href='https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/465577d88b0afee8'/><gContact:nickname>Test
 Contact Esq.</gContact:nickname></entry>
+< <?xml version="1.0" encoding="UTF-8"?>
+< <entry gd:etag="&quot;SX4yeDVSLit7I2A9XRdWFEQKQwM.&quot;" xmlns="http://www.w3.org/2005/Atom"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; xmlns:gContact="http://schemas.google.com/contact/2008"; 
xmlns:gd="http://schemas.google.com/g/2005";>
+<  <id>http://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/base/c8390ec0ef7f98a</id>
+<  <updated>2014-11-08T23:47:58.090Z</updated>
+<  <app:edited xmlns:app="http://www.w3.org/2007/app";>2014-11-08T23:47:58.090Z</app:edited>
+<  <category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/contact/2008#contact"/>
+<  <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/c8390ec0ef7f98a"/>
+<  <link rel="self" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/c8390ec0ef7f98a"/>
+<  <link rel="edit" type="application/atom+xml" 
href="https://www.google.com/m8/feeds/contacts/libgdata.test%40googlemail.com/full/c8390ec0ef7f98a"/>
+<  <gContact:nickname>Test Contact Esq.</gContact:nickname>
+< </entry>
   
-> DELETE /m8/feeds/contacts/libgdata.test%40googlemail.com/full/465577d88b0afee8 HTTP/1.1
-> Soup-Debug-Timestamp: 1375362507
-> Soup-Debug: SoupSession 1 (0x66f2e0), SoupMessage 46 (0x9b1280), SoupSocket 12 (0x8d7d60)
+> DELETE /m8/feeds/contacts/libgdata.test%40googlemail.com/full/c8390ec0ef7f98a HTTP/1.1
+> Soup-Debug-Timestamp: 1415490478
+> Soup-Debug: SoupSession 1 (0x1c05240), SoupMessage 9 (0x1ce93a0), SoupSocket 4 (0x1e32b70)
Host: www.google.com
-> Authorization: GoogleLogin 
auth=DQAAANYAAAAWvJzyD2J6d8-v1A-RQD2CZTFj0cXmZR5bhO3uJZYudiF6fHFDR_cHNwZtRrJtSgV87AW-TE_m-GQ4qhW8JBqLxAf_sJm20_8TtptsoN0SC0d9j-MJPc5QimHpp1nfIWrM5Ni9qmSQqpgB_vxH0KMXVyaC88nkQel0Hcz4U8Z4oH1Msd-XmDhGIlcgrWsKIiF0Mx4eOgsS8ces49E_U9HBXETdKHsFFg50rkU9wq6qx_eL7bzeTmra421N8QrAzP48g_zKQdSGmAEIs3ujmXW8mQCrmL0TGUhGuJBDqRyWqg
+> Authorization: Bearer ya29.uAB1RRhn3TKLPSfFZeRgrzf68-Gb9tby5F20urDCBwC6B94UqINs1Hvh_iKX3FagPwd0QkLnrSyVRw
GData-Version: 3
-> If-Match: "RHc-eDVSLit7I2A9WhFWE0sIQw0."
+> If-Match: "SX4yeDVSLit7I2A9XRdWFEQKQwM."
Accept-Encoding: gzip, deflate
+> User-Agent: libgdata/0.17.0 - gzip
Connection: Keep-Alive
   
 < HTTP/1.1 200 OK
-< Soup-Debug-Timestamp: 1375362507
-< Soup-Debug: SoupMessage 46 (0x9b1280)
-< GData-Version: 3.1
-< Date: Thu, 01 Aug 2013 13:08:27 GMT
-< Expires: Thu, 01 Aug 2013 13:08:27 GMT
-< Cache-control: private, max-age=0
+< Soup-Debug-Timestamp: 1415490478
+< Soup-Debug: SoupMessage 9 (0x1ce93a0)
+< Cache-Control: no-cache, no-store, max-age=0, must-revalidate
+< Pragma: no-cache
+< Expires: Fri, 01 Jan 1990 00:00:00 GMT
+< Date: Sat, 08 Nov 2014 23:47:58 GMT
+< Vary: Origin
+< Vary: Referer
+< Vary: X-Origin
+< Content-Type: application/atom+xml
 < X-Content-Type-Options: nosniff
 < X-Frame-Options: SAMEORIGIN
 < X-XSS-Protection: 1; mode=block
 < Content-Length: 0
 < Server: GSE
-< Content-Type: text/html; charset=UTF-8
+< Alternate-Protocol: 443:quic,p=0.01
 < 
   



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]