cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: 401 response bodies carried over

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 6 Nov 2008 22:31:45 +0100 (CET)

On Thu, 6 Nov 2008, Troy Davisson wrote:

> I'm seeing some strange behavior in a few test cases where, using the
> request settings below, the HTTP body of the HTTP 401 response is being
> added to the HTTP body of the HTTP 200 response following successful
> authentication.

[...]

> Is this a known behavior or is there a curl option I'm missing? Has anyone
> else run into this before?

No, it is not a known nor expected behavior and we in fact have numerous test
cases that verify this!

Can you repeat this with a recent version? If so, can you provide us with the
source code to a small app that does?

-- 
  / daniel.haxx.se
Received on 2008-11-06