summaryrefslogtreecommitdiff
path: root/tests/libtest/lib1514.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib1514.c')
-rw-r--r--tests/libtest/lib1514.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/libtest/lib1514.c b/tests/libtest/lib1514.c
index d01a5d4fb..dd84d109f 100644
--- a/tests/libtest/lib1514.c
+++ b/tests/libtest/lib1514.c
@@ -68,6 +68,10 @@ int test(char *URL)
/* Purposely omit to set CURLOPT_POSTFIELDSIZE */
easy_setopt(curl, CURLOPT_READFUNCTION, read_callback);
easy_setopt(curl, CURLOPT_READDATA, &pooh);
+#ifdef LIB1539
+ /* speak HTTP 1.0 - no chunked! */
+ easy_setopt(curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
+#endif
result = curl_easy_perform(curl);