aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-02-05 08:42:52 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-02-05 08:42:52 +0800
commite397c5fe0f330a2d6389a4f3beda8868e42d36c3 (patch)
tree77c96ec6eb1327b194ae0d26d6db32ac0dfa9afa
parente111399fba5ae5ced85fbeac392539052b050324 (diff)
downloadgsoc2013-evolution-e397c5fe0f330a2d6389a4f3beda8868e42d36c3.tar
gsoc2013-evolution-e397c5fe0f330a2d6389a4f3beda8868e42d36c3.tar.gz
gsoc2013-evolution-e397c5fe0f330a2d6389a4f3beda8868e42d36c3.tar.bz2
gsoc2013-evolution-e397c5fe0f330a2d6389a4f3beda8868e42d36c3.tar.lz
gsoc2013-evolution-e397c5fe0f330a2d6389a4f3beda8868e42d36c3.tar.xz
gsoc2013-evolution-e397c5fe0f330a2d6389a4f3beda8868e42d36c3.tar.zst
gsoc2013-evolution-e397c5fe0f330a2d6389a4f3beda8868e42d36c3.zip
Use camel_mime_parser_read to read internal parser data.
2002-02-04 Jeffrey Stedfast <fejj@ximian.com> * 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 svn path=/trunk/; revision=15572
-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) {