libsoup r987 - in branches/libsoup-2.4: . libsoup tests



Author: danw
Date: 2007-12-19 19:35:14 +0000 (Wed, 19 Dec 2007)
New Revision: 987
ViewCVS link: http://svn.gnome.org/viewcvs/libsoup?rev=987&view=rev

Modified:
   branches/libsoup-2.4/ChangeLog
   branches/libsoup-2.4/libsoup/soup-message-client-io.c
   branches/libsoup-2.4/libsoup/soup-message-headers.c
   branches/libsoup-2.4/libsoup/soup-message-headers.h
   branches/libsoup-2.4/libsoup/soup-message-io.c
   branches/libsoup-2.4/libsoup/soup-message-private.h
   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-server-message.c
   branches/libsoup-2.4/libsoup/soup-server-message.h
   branches/libsoup-2.4/tests/context-test.c
   branches/libsoup-2.4/tests/header-parsing.c
   branches/libsoup-2.4/tests/simple-proxy.c
Log:
	* libsoup/soup-message-headers.c: Add some more fields to
	SoupMessageHeaders, and start caching the parsed values of certain
	important headers.
	(soup_message_headers_get/set_encoding): replaces old SoupMessage
	methods, and only deals with the declared transfer encoding, not
	the wire encoding.
	(soup_message_headers_get/set_content_length): Handle
	Content-Length.
	(soup_message_headers_get_expectations): Handle Expect. (Replaces
	the SOUP_MESSAGE_EXPECT_CONTINUE flag).

	* libsoup/soup-message.c (soup_message_get_request_encoding):
	(soup_message_get_response_encoding):
	(soup_message_set_response_encoding): replaced by
	SoupMessageHeaders methods.

	* libsoup/soup-message-client-io.c:
	* libsoup/soup-message-server-io.c:
	* libsoup/soup-message-io.c: Update for SoupMessageHeaders changes
	with encoding/content-length stuff.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]