Unable to do VS recording using CURL with Expect:100-Continue

Document ID : KB000130863
Last Modified Date : 12/04/2019
Show Technical Document Details
Issue:
Sometimes when doing a VS recording using Curl with Expect:100-Continue headers, recorder do not capture any transactions.
Environment:
Supported DevTest environments.
Cause:
CURL automatically adds an Expect: 100-Continue header if the payload is bigger than 1024 bytes which is causing the issue.
Resolution:
Explicitly disabling the Expect:100-Continue header as below in the CURL command should resolved the issue. 
curl -H 'Expect:' 
Additional Information:
The link https://gms.tf/when-curl-sends-100-continue.html provide information on enabling/disabling Expect headers.