aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog1
-rw-r--r--camel/camel-http-stream.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 7a5b6e1fe6..861e6b8ad5 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -3,6 +3,7 @@
* camel-http-stream.c (stream_read): Use camel_mime_parser_read to
read internal parser data.
(camel_http_stream_get_content_type): Implemented.
+ (http_method_invoke): Use HTTP/1.0 instead of 1.1
* camel-mime-utils.c (header_decode_int): Made public.
diff --git a/camel/camel-http-stream.c b/camel/camel-http-stream.c
index 3dbccc88e5..936585fd99 100644
--- a/camel/camel-http-stream.c
+++ b/camel/camel-http-stream.c
@@ -333,7 +333,7 @@ http_method_invoke (CamelHttpStream *http)
}
url = camel_url_to_string (http->url, 0);
- if (camel_stream_printf (http->raw, "%s %s HTTP/1.1\r\nHost: %s\r\n\r\n",
+ if (camel_stream_printf (http->raw, "%s %s HTTP/1.0\r\nHost: %s\r\n\r\n",
method, http->url->path ? http->url->path : "/",
http->url->host) == -1 ||
camel_stream_flush (http->raw) == -1) {