Skip to content
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

Investigate supporting the Expect header in RPC #1671

Closed
cryptocode opened this issue Jan 31, 2019 · 0 comments

Comments

@cryptocode
Copy link
Collaborator

commented Jan 31, 2019

curl (and curl wrappers) sends the Expect header by default. For large requests (>1K), this causes curl to delay for 1 second waiting for the "100-continue" response. Postman and many other clients does not send this by default.

A workaround for curl is to add -H Expect:

Adding support for this header in the node may be unnecessary if RPC gets externalized, as any external web server is likely to support this already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.