soup_header_g_string_append_param: if @value is a token, don't quote it
authorDan Winship <danw@gnome.org>
Tue, 6 Apr 2010 16:05:26 +0000 (12:05 -0400)
committerDan Winship <danw@gnome.org>
Fri, 9 Apr 2010 23:51:33 +0000 (19:51 -0400)
commit7dfc7855fc9e41fd542c0cef7a229fe2c2e959ca
tree0c304cb57a1d3569d21da3c08564f8d7528c2b67
parent6ce2bb5d1e4dfc1429567cc6d2b5232f421af2b3
soup_header_g_string_append_param: if @value is a token, don't quote it

also add soup_header_g_string_append_param_quoted(), for places that
need to guarantee they're adding a quoted-string, not a token, even if
a token would be syntactically correct. (eg, digest auth, where lots of
implementations are very very picky)
libsoup/soup-auth-digest.c
libsoup/soup-auth-domain-digest.c
libsoup/soup-headers.c
libsoup/soup-headers.h
tests/header-parsing.c
tests/sniffing-test.c