[rhythmbox] daap: remove extra Connection header from streaming requests



commit 1b98b377a317d98f3079444dd6e95702036f452b
Author: Jonathan Matthew <jonathan d14n org>
Date:   Mon May 24 09:51:10 2010 +1000

    daap: remove extra Connection header from streaming requests

 plugins/daap/rb-daap-connection.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/plugins/daap/rb-daap-connection.c b/plugins/daap/rb-daap-connection.c
index ac10e0e..30c3507 100644
--- a/plugins/daap/rb-daap-connection.c
+++ b/plugins/daap/rb-daap-connection.c
@@ -1700,13 +1700,11 @@ rb_daap_connection_get_headers (RBDAAPConnection *connection,
 	headers = gst_structure_new ("extra-headers",
 				     "Accept",                   G_TYPE_STRING, "*/*",
 				     "Cache-Control",            G_TYPE_STRING, "no-cache",
-				     "User-Agent",               G_TYPE_STRING, RB_DAAP_USER_AGENT,
 				     "Accept-Language",          G_TYPE_STRING, "en-us, en;q=5.0",
 				     "Client-DAAP-Access-Index", G_TYPE_STRING, "2",
 				     "Client-DAAP-Version",      G_TYPE_STRING, "3.0",
 				     "Client-DAAP-Validation",   G_TYPE_STRING, hash,
 				     "Client-DAAP-Request-ID",   G_TYPE_STRING, request_id_str,
-				     "Connection",               G_TYPE_STRING, "close",
 				     NULL);
 	g_free (request_id_str);
 



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