cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Getting the HTTP response code following a 100 Continue

From: Daniel Stenberg <daniel_at_haxx.se>
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.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-03-14