curl-library
Re: HTTP version getinfo
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 21 Jun 2009 23:00:17 +0200 (CEST)
Date: Sun, 21 Jun 2009 23:00:17 +0200 (CEST)
On Fri, 19 Jun 2009, Brad Schick wrote:
> Can I obtain the actual HTTP version (1.0 or 1.1) with curl_easy_getinfo? I
> realized I can grab the first part of the response headers, but it would
> surprise me if libcurl isn't already doing this. Hopefully I'm just missing
> something.
Get surprised! There's currently no CURLINFO_* code done for extracting that
info... If you write up a patch for it, I'd be interested. libcurl already
figures out the version so it's mostly a matter of storing it for later
retrieval.
-- / daniel.haxx.seReceived on 2009-06-21