if the request headers contain an unrecognized Expect: header, return
authorDan Winship <danw@src.gnome.org>
Sun, 3 Feb 2008 02:17:54 +0000 (02:17 +0000)
committerDan Winship <danw@src.gnome.org>
Sun, 3 Feb 2008 02:17:54 +0000 (02:17 +0000)
commit33a0a3104d5789284cedf4a057a56ff39b4a7369
treeba602fe87e45702a3280532994e5e67d0cb9e830
parent325d6c2522b4198a8df342fa3799773a61ccd6dd
if the request headers contain an unrecognized Expect: header, return

* libsoup/soup-headers.c (soup_headers_parse_request): if the
request headers contain an unrecognized Expect: header, return
SOUP_STATUS_EXPECTATION_FAILED. Also, process Connection headers
in HTTP/1.0 messages as required by 2616 14.10.
(soup_headers_parse_response): Likewise handle Connection headers
in HTTP/1.0 messages

* tests/header-parsing.c: test those things

svn path=/trunk/; revision=1070
ChangeLog
libsoup/soup-headers.c
tests/header-parsing.c