aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-02-07 14:03:17 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-02-07 14:03:17 +0000
commit7725729d908527cdf1eb94dbafad1315f52937aa (patch)
treeb97786f12dda4759cffd541859acae2ff22e9875 /docs/libcurl
parente96445bd02428d9ae86036e385c9c694974bc732 (diff)
Rene Bernhardt found this typo
Diffstat (limited to 'docs/libcurl')
-rw-r--r--docs/libcurl/libcurl-tutorial.310
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/libcurl/libcurl-tutorial.3 b/docs/libcurl/libcurl-tutorial.3
index 0a0a5f095..0045cfe26 100644
--- a/docs/libcurl/libcurl-tutorial.3
+++ b/docs/libcurl/libcurl-tutorial.3
@@ -887,12 +887,12 @@ data size is unknown.
There's only one aspect left in the HTTP requests that we haven't yet
mentioned how to modify: the version field. All HTTP requests includes the
-version number to tell the server which version we support. libcurl speak
-HTTP 1.1 by default. Some very old servers don't like getting 1.1-requests
-and when dealing with stubborn old things like that, you can tell libcurl
-to use 1.0 instead by doing something like this:
+version number to tell the server which version we support. libcurl speak HTTP
+1.1 by default. Some very old servers don't like getting 1.1-requests and when
+dealing with stubborn old things like that, you can tell libcurl to use 1.0
+instead by doing something like this:
- curl_easy_setopt(easyhandle, CURLOPT_HTTP_VERSION, CURLHTTP_VERSION_1_0);
+ curl_easy_setopt(easyhandle, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
.IP "FTP Custom Commands"