-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Goliath cannot handle "Expect: 100-Continue" #284
Comments
Curl will always wait for 100-continue. To remove it use: That said, the response you linked to also looks correct. See RFC: http://greenbytes.de/tech/webdav/rfc2616.html#rfc.section.10.1
|
Thanks for the quick reply. I've tested with multiple different clients (libcurl based, Apache HTTP, .NET, etc). libcurl is actually the most forgiving of broken 100-continue support, and only results in a 1s delay before sending the body. Many other clients fail after a timeout, without ever sending the request body. I think that curl can show there is still an issue, though. I think you're right it is a valid response, but it's coming too late. Try changing the response from a I commented on the gist to keep the code samples in one spot, and to link the mailing list/gist to this issue. Final note: Unfortunately properly implementing 100 Continue support is probably non-trivial. I found the Use of the 100 (Continue) Status section of the RFC 2616, which includes 5 requirements for HTTP 1.1 origin servers, and 4 requirements for HTTP 1.1 proxies. |
This was discussed on the mailing list but I didn't see an issue and it appears unresolved.
The proposed workaround doesn't work. It appeared to at first, but only because curl sends the body after a timeout.
The text was updated successfully, but these errors were encountered: