Do the auth stuff at the end-of-headers and not at the start-of-body, as
authorDaniel Stenberg <daniel@haxx.se>
Wed, 22 Oct 2003 11:15:48 +0000 (11:15 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 22 Oct 2003 11:15:48 +0000 (11:15 +0000)
commitb439e8ffb7e27bb5a7cc22abeb8743eebc57ec70
treefd8117a236ed21058e7eb2aac2e141c4eb9675ff
parent475166fc8bf2010ade87956f7626e3e03a5e9004
Do the auth stuff at the end-of-headers and not at the start-of-body, as
we might not get a body when we get a 401 with a set of WWW-Authenticate:
headers. This fixes the problem Kevin Roth detected in 7.10.8-pre4 and pre5.
Verified by test case 91.
lib/transfer.c