View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007820CMakeCTestpublic2008-10-16 10:062016-06-10 14:30
ReporterMichal Cihar 
Assigned ToBill Hoffman 
PrioritynormalSeveritytweakReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0007820: Please disable Expect: header in curl
DescriptionUsing CURLOPT_POST with HTTP 1.1 implies the use of a "Expect: 100-continue" header. However this causes problems with some servers. I know they can be considered broken, however fix in client not to send Expect: header seems to fix the issue and does not cause any problems. You can disable this header with CURLOPT_HTTPHEADER as usual.
TagsNo tags attached.
Attached Filesdiff file icon curl-no-expect.diff [^] (639 bytes) 2008-11-18 04:35 [Show Content]

 Relationships

  Notes
(0014130)
Michal Cihar (reporter)
2008-11-18 04:35

Attached patch allows to disable Expect: headers by setting variable HTTP_NO_EXPECT.
(0014713)
Bill Hoffman (manager)
2009-01-29 12:22

Should this be a default? What is the harm if you always disable headers.
(0014725)
Michal Cihar (reporter)
2009-01-29 14:53

I'm not sure if it should be default, but I think it's safe. I did not notice any problems when using patched version with HTTP_NO_EXPECT enabled agains several CDash installations.
(0041453)
Kitware Robot (administrator)
2016-06-10 14:27

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2008-10-16 10:06 Michal Cihar New Issue
2008-11-18 04:35 Michal Cihar File Added: curl-no-expect.diff
2008-11-18 04:35 Michal Cihar Note Added: 0014130
2009-01-29 12:22 Bill Hoffman Note Added: 0014713
2009-01-29 12:22 Bill Hoffman Status new => assigned
2009-01-29 12:22 Bill Hoffman Assigned To => Bill Hoffman
2009-01-29 14:53 Michal Cihar Note Added: 0014725
2016-06-10 14:27 Kitware Robot Note Added: 0041453
2016-06-10 14:27 Kitware Robot Status assigned => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:30 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team