summaryrefslogtreecommitdiff
path: root/libsoup/soup-headers.h
diff options
context:
space:
mode:
authorAlex Graveley <alex@ximian.com>2001-08-28 13:21:33 +0000
committerAlex Graveley <orph@src.gnome.org>2001-08-28 13:21:33 +0000
commitc46a94e182e66630081eddf5bb2eafa63d257936 (patch)
tree4a223e367da2188bfd3296964a33c629a6afba75 /libsoup/soup-headers.h
parentaaceda3355d733e5f3f6bf367b691ba6a64fff1b (diff)
downloadlibsoup-c46a94e182e66630081eddf5bb2eafa63d257936.tar.gz
Remove mega FIXME.
2001-08-28 Alex Graveley <alex@ximian.com> * src/soup-core/soup-context.c (soup_try_existing_connections): Remove mega FIXME. * src/soup-core/soup-queue.c (soup_queue_read_headers_cb): If the response server is HTTP 1.0, default to non-persistent connections. * src/soup-core/soup-httpd.c (soup_httpd_read_headers_cb): Store http version for incoming message. * src/soup-core/soup-headers.c (soup_headers_parse_response): Support returning the http version. (soup_headers_parse_request): Ditto.
Diffstat (limited to 'libsoup/soup-headers.h')
-rw-r--r--libsoup/soup-headers.h24
1 files changed, 14 insertions, 10 deletions
diff --git a/libsoup/soup-headers.h b/libsoup/soup-headers.h
index dd94b0ca..6f858529 100644
--- a/libsoup/soup-headers.h
+++ b/libsoup/soup-headers.h
@@ -13,18 +13,22 @@
#include <glib.h>
+#include "soup-message.h"
+
/* HTTP Header Parsing */
-gboolean soup_headers_parse_request (gchar *str,
- gint len,
- GHashTable *dest,
- gchar **req_method,
- gchar **req_path);
+gboolean soup_headers_parse_request (gchar *str,
+ gint len,
+ GHashTable *dest,
+ gchar **req_method,
+ gchar **req_path,
+ SoupHttpVersion *ver);
-gboolean soup_headers_parse_response (gchar *str,
- gint len,
- GHashTable *dest,
- guint *status_code,
- gchar **status_phrase);
+gboolean soup_headers_parse_response (gchar *str,
+ gint len,
+ GHashTable *dest,
+ SoupHttpVersion *ver,
+ guint *status_code,
+ gchar **status_phrase);
#endif /*SOUP_HEADERS_H*/