[libgdata] [youtube] Remove X-GData-Client header



commit ed06b683af28db476d11be44c24dfeb0369c8af2
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sun Apr 25 22:55:21 2010 +0100

    [youtube] Remove X-GData-Client header
    
    It was deprecated on 2010-03-22, so we might as well save the bandwidth and
    not send it with every request.

 gdata/services/youtube/gdata-youtube-service.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gdata/services/youtube/gdata-youtube-service.c b/gdata/services/youtube/gdata-youtube-service.c
index 7034f46..ad519d6 100644
--- a/gdata/services/youtube/gdata-youtube-service.c
+++ b/gdata/services/youtube/gdata-youtube-service.c
@@ -216,8 +216,6 @@ append_query_headers (GDataService *self, SoupMessage *message)
 	soup_message_headers_append (message->request_headers, "X-GData-Key", key_header);
 	g_free (key_header);
 
-	soup_message_headers_append (message->request_headers, "X-GData-Client", gdata_service_get_client_id (self));
-
 	/* Chain up to the parent class */
 	GDATA_SERVICE_CLASS (gdata_youtube_service_parent_class)->append_query_headers (self, message);
 }



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