MantisBT - CMake
View Issue Details
0007820CMakeCTestpublic2008-10-16 10:062016-06-10 14:30
Michal Cihar 
Bill Hoffman 
normaltweakalways
closedmoved 
CMake-2-6 
 
0007820: Please disable Expect: header in curl
Using 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.
No tags attached.
diff curl-no-expect.diff (639) 2008-11-18 04:35
https://public.kitware.com/Bug/file/1849/curl-no-expect.diff
Issue History
2008-10-16 10:06Michal CiharNew Issue
2008-11-18 04:35Michal CiharFile Added: curl-no-expect.diff
2008-11-18 04:35Michal CiharNote Added: 0014130
2009-01-29 12:22Bill HoffmanNote Added: 0014713
2009-01-29 12:22Bill HoffmanStatusnew => assigned
2009-01-29 12:22Bill HoffmanAssigned To => Bill Hoffman
2009-01-29 14:53Michal CiharNote Added: 0014725
2016-06-10 14:27Kitware RobotNote Added: 0041453
2016-06-10 14:27Kitware RobotStatusassigned => resolved
2016-06-10 14:27Kitware RobotResolutionopen => moved
2016-06-10 14:30Kitware RobotStatusresolved => closed

Notes
(0014130)
Michal Cihar   
2008-11-18 04:35   
Attached patch allows to disable Expect: headers by setting variable HTTP_NO_EXPECT.
(0014713)
Bill Hoffman   
2009-01-29 12:22   
Should this be a default? What is the harm if you always disable headers.
(0014725)
Michal Cihar   
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   
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.