cURL / Mailing Lists / curl-library / Single Mail


patch for unordered body and header in re-authentication

From: Jari Urpalainen <>
Date: Thu, 24 Apr 2008 12:16:15 +0300

Hi all!

When re-authentication of an http request is being required by the
server (when a request body exists), the re-authentication of libcurl
responds with the incorrect order, i.e. body is written _before_ the
header information. Attached a patch which at least WFM. If there's a
better way to fix this that's fine by me as long as this gets fixed,
please ;-). A _better_ fix would certainly include a body in the test153
or add a new test with body.

thanks, jari

Received on 2008-04-24