Only remove the Authorization / Proxy-Authorization header from the
authorDan Winship <danw@src.gnome.org>
Mon, 24 Sep 2007 00:53:00 +0000 (00:53 +0000)
committerDan Winship <danw@src.gnome.org>
Mon, 24 Sep 2007 00:53:00 +0000 (00:53 +0000)
commit3dfea0e4ecf5df916e7c3bd5d75becef61e8bda8
tree9dd0b3a0d40bb007e025e0b6f466dd51e7c83f92
parentec89f091f45d5c4bb3d7c9bb014cce0bc43be2dc
Only remove the Authorization / Proxy-Authorization header from the

* libsoup/soup-message.c (soup_message_set_auth)
(soup_message_set_proxy_auth): Only remove the Authorization /
Proxy-Authorization header from the message if it was previously
set by soup_message_set_auth(). (Eg, not if it was added by
SoupConnectionNTLM.) #471389

* libsoup/soup-connection-ntlm.h: fix a search-and-replace-o

* tests/ntlm-test.c: Simple NTLM regression test; doesn't really
test the crypto/encoding bits, just that the right headers are
being sent at the right times.

svn path=/trunk/; revision=930
ChangeLog
libsoup/soup-connection-ntlm.h
libsoup/soup-message.c
tests/Makefile.am
tests/ntlm-test.c [new file with mode: 0644]