cURL / Mailing Lists / curl-library / Single Mail


Re: Getting the HTTP response code following a 100 Continue

From: Daniel Stenberg <>
Date: Mon, 14 Mar 2011 23:19:58 +0100 (CET)

On Wed, 23 Feb 2011, Olivier Lebra wrote:

> When a server returns HTTP code 100 followed by a 200 (or 404, etc.),
> CURLINFO_RESPONSE_CODE is set to 100. Is there a way to get the second HTTP
> code?

(Sorry for not having responded earlier, I had completely missed this mail.)

Hm, the way I read the code you should rather only get the later code and not
the 100... What version of libcurl are you using? I should probably
write/check a test case to verify my reading.

List admin:
Received on 2011-03-14