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 · Fixed by #1819
Closed

Investigate supporting the Expect header in RPC #1671

cryptocode opened this issue Jan 31, 2019 · 0 comments · Fixed by #1819
Assignees
Labels
enhancement rpc Changes related to Remote Procedure Calls
Milestone

Comments

@cryptocode
Copy link
Contributor

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
Labels
enhancement rpc Changes related to Remote Procedure Calls
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants