SoupAuthManager: deal with "disappearing" auth headers
authorDan Winship <danw@gnome.org>
Wed, 6 Mar 2013 17:17:19 +0000 (12:17 -0500)
committerDan Winship <danw@gnome.org>
Wed, 6 Mar 2013 19:47:34 +0000 (14:47 -0500)
commit162abf754b75238ed0f772563d602a964e8dc149
tree901406033367456fae584f779399ee398fccf2dc
parentef359ad7565e3b46691582358fd07f1148c933f7
SoupAuthManager: deal with "disappearing" auth headers

Normally when sending a 401 response, a server re-sends the initial
WWW-Authenticate challenge. However, it doesn't actually have to, and
libsoup was getting confused if it didn't. Fix that.

https://bugzilla.redhat.com/show_bug.cgi?id=916224
libsoup/soup-auth-manager.c
tests/auth-test.c