From dd7b931d0fe950c5a6646c72565739fd8835c136 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 16 Jun 2013 01:14:11 +0100 Subject: Use HTTP/1.1 by default in the Twitter module, and stick to the initially used protocol version when internally handling redirects. --- protocols/twitter/twitter_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/twitter/twitter_http.c b/protocols/twitter/twitter_http.c index 0f1ab518..f7ab6e18 100644 --- a/protocols/twitter/twitter_http.c +++ b/protocols/twitter/twitter_http.c @@ -77,7 +77,7 @@ struct http_request *twitter_http(struct im_connection *ic, char *url_string, ht } // Make the request. - g_string_printf(request, "%s %s%s%s%s HTTP/1.0\r\n" + g_string_printf(request, "%s %s%s%s%s HTTP/1.1\r\n" "Host: %s\r\n" "User-Agent: BitlBee " BITLBEE_VERSION " " ARCH "/" CPU "\r\n", is_post ? "POST" : "GET", -- cgit v1.2.3