libsoup r1007 - in branches/libsoup-2.4: . libsoup tests
- From: danw svn gnome org
- To: svn-commits-list gnome org
- Subject: libsoup r1007 - in branches/libsoup-2.4: . libsoup tests
- Date: Thu, 3 Jan 2008 02:23:56 +0000 (GMT)
Author: danw
Date: 2008-01-03 02:23:55 +0000 (Thu, 03 Jan 2008)
New Revision: 1007
ViewCVS link: http://svn.gnome.org/viewcvs/libsoup?rev=1007&view=rev
Modified:
branches/libsoup-2.4/ChangeLog
branches/libsoup-2.4/libsoup/soup-message-body.c
branches/libsoup-2.4/libsoup/soup-message-body.h
branches/libsoup-2.4/libsoup/soup-message-client-io.c
branches/libsoup-2.4/libsoup/soup-message-server-io.c
branches/libsoup-2.4/libsoup/soup-message.c
branches/libsoup-2.4/libsoup/soup-message.h
branches/libsoup-2.4/libsoup/soup-soap-message.c
branches/libsoup-2.4/tests/continue-test.c
branches/libsoup-2.4/tests/get.c
branches/libsoup-2.4/tests/getbug.c
branches/libsoup-2.4/tests/pull-api.c
branches/libsoup-2.4/tests/simple-httpd.c
branches/libsoup-2.4/tests/simple-proxy.c
branches/libsoup-2.4/tests/xmlrpc-test.c
Log:
* libsoup/soup-message-body.h (SoupMessageBody): add data and
length parameters like SoupBuffer, to make this easier for callers
to use.
* libsoup/soup-message-body.c (soup_message_body_append)
(soup_message_body_append_buffer)
(soup_message_body_truncate): Update body->length
(soup_message_body_flatten): Fill in body->data (and NUL-terminate
it as an added bonus).
* libsoup/soup-message.c (got_body): flatten the newly-gotten
body.
(soup_message_get_request, soup_message_get_response): gone
* libsoup/soup-message-client-io.c (get_request_headers):
* libsoup/soup-message-server-io.c (get_response_headers):
* libsoup/soup-soap-message.c (soup_soap_message_parse_response):
* tests/*.c: simplify
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]