curl-library
typo in tutorial
From: Rene Bernhardt <rbeere_at_nouvex.de>
Date: Tue, 7 Feb 2006 10:28:19 +0100
Date: Tue, 7 Feb 2006 10:28:19 +0100
Hi,
I discovered that there is a little type error in the tutorial.
In the section that describes how to influence the HTTP Version .
-> The real constants used in libcurl are named
CURL_HTTP_VERSION_1_1 and CURL_HTTP_VERSION_1_0
in the tutorial there is one underscore missing:
curl_easy_setopt(easyhandle, CURLOPT_HTTP_VERSION, CURLHTTP_VERSION_1_0);
Rene
Received on 2006-02-07