diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2013-06-16 01:14:11 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2013-06-16 01:14:11 +0100 |
commit | dd7b931d0fe950c5a6646c72565739fd8835c136 (patch) | |
tree | 1abf729af949c7720af6d70559cfe259ad7a4d8d /protocols/twitter/twitter_http.c | |
parent | 777461be5e14d3aab9a51f19b5d2621309141a9d (diff) |
Use HTTP/1.1 by default in the Twitter module, and stick to the initially
used protocol version when internally handling redirects.
Diffstat (limited to 'protocols/twitter/twitter_http.c')
-rw-r--r-- | protocols/twitter/twitter_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
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", |