Implement. Sets the HTTP method for a given message. (soup_message_new):
authorJoe Shaw <joe@ximian.com>
Wed, 6 Jun 2001 21:31:55 +0000 (21:31 +0000)
committerJoe Shaw <joeshaw@src.gnome.org>
Wed, 6 Jun 2001 21:31:55 +0000 (21:31 +0000)
commit207f87a86eafaf04485c6e9fa077df4c250253c0
tree0f0b8c2fece2b8eeb706e0a86ee84c36b41e251a
parentc6a12ead2b5d389aa0e7d5c1abf1acd3527d14c2
Implement. Sets the HTTP method for a given message. (soup_message_new):

2001-06-06  Joe Shaw  <joe@ximian.com>

* src/soup-core/soup-message.c (soup_message_set_method,
soup_message_get_method): Implement. Sets the HTTP method for a given
message.
(soup_message_new): Set the default method to SOUP_METHOD_POST.

* src/soup-core/soup-misc.c (soup_substring_index): Make sure we
check the very last possible character (<= instead of <) for substrings.

* src/soup-core/soup-queue.c (soup_get_request_header): Send an HTTP
request for the method set in the message instead of always POST.

* src/soup-core/soup-parser.c: Change the #include to <parser.h> from
<gnome-xml/parser.h>.

* src/soup-core/soup-serializer.h: Change the #include to <tree.h> from
<gnome-xml/tree.h>.
ChangeLog
libsoup/soup-message.c
libsoup/soup-message.h
libsoup/soup-misc.c
libsoup/soup-queue.c