The server cannot meet the requirement in the request's Expect header.
417 Expectation Failed means the server (or a proxy on the way) does not support an expectation in the Expect header. In practice the only defined expectation is 100-continue, so a 417 means "do not wait for 100, just send the body".
Expect: 100-continue.-H "Expect:"; .NET ServicePointManager.Expect100Continue = false or request.Headers.ExpectContinue = false.| Header | Role |
|---|---|
Expect | The request header that was rejected. |
HTTP/1.1 417 Expectation Failed
Connection: close
Content-Length: 0