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



Author: danw
Date: 2007-12-20 17:09:38 +0000 (Thu, 20 Dec 2007)
New Revision: 994
ViewCVS link: http://svn.gnome.org/viewcvs/libsoup?rev=994&view=rev

Modified:
   branches/libsoup-2.4/ChangeLog
   branches/libsoup-2.4/libsoup/soup-auth-digest.c
   branches/libsoup-2.4/libsoup/soup-auth.c
   branches/libsoup-2.4/libsoup/soup-headers.c
   branches/libsoup-2.4/libsoup/soup-headers.h
   branches/libsoup-2.4/libsoup/soup-message.c
   branches/libsoup-2.4/libsoup/soup-server-auth.c
   branches/libsoup-2.4/tests/header-parsing.c
Log:
	* libsoup/soup-headers.c (soup_header_parse_list)
	(soup_header_parse_quality_list): New methods to parse list-type
	headers (with optional qvalues) correctly.
	(soup_header_parse_param_list): Rename to match the other methods,
	and update the semantics a bit.
	(soup_header_contains): Correctly check for a token in a list

	* libsoup/soup-message.c (soup_message_is_keepalive):
	* libsoup/soup-message-client-io.c (get_request_headers):
	* libsoup/soup-message-server-io.c (parse_request_headers): Use
	soup_header_contains() with Connection headers.

	* tests/header-parsing.c (do_qvalue_tests): add
	soup_header_parse_quality_list() test





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