(redirect_handler): PROPFIND is defined to be "safe and
authorDan Winship <danw@src.gnome.org>
Thu, 28 Feb 2008 17:14:45 +0000 (17:14 +0000)
committerDan Winship <danw@src.gnome.org>
Thu, 28 Feb 2008 17:14:45 +0000 (17:14 +0000)
commit2505d3b67d183903159c007ac3b3304fcf7959c8
treea298e19c6edf667bd5f02625d8933a4d62e1be3b
parentf0ac7d44c2f07eb97253e817ef3d09cb7028b0e3
(redirect_handler): PROPFIND is defined to be "safe and
idempotent", so allow automatic redirects of it. (Pointed out by
Christian Kellner. FIXME: need a way for apps to declare
additional safe methods). Also, treat 302 like 307, not like 303,
because that behavior is universal in the real world, despite the
spec's protests.

* tests/redirect-test.c (tests): update POST 302 behavior check

* tests/Makefile.am (TESTS): oops, add redirect-test so it gets
run by "make check"/"make distcheck"

svn path=/trunk/; revision=1101
ChangeLog
libsoup/soup-session.c
tests/Makefile.am
tests/redirect-test.c