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

Enable setting HTTP options #41

Open
bradlo opened this issue Oct 5, 2022 · 1 comment
Open

Enable setting HTTP options #41

bradlo opened this issue Oct 5, 2022 · 1 comment

Comments

@bradlo
Copy link
Collaborator

bradlo commented Oct 5, 2022

  • Headers, including User-Agent override.
  • Timeout
  • Transport (DefaultTransport)
    • DialContext.Timeout
    • DialContext.KeepAlive
    • ForceAttemptHTTP2
    • IdleConnTimeout
    • TLSHandshakeTimeout
    • ExpectContinueTimeout (relevant?)
  • TLSClientConfig
    • InsecureSkipVerify

todo: unclear if any of these are relevant given the request/response interface of the CLI. perhaps in interactive mode?

  • MaxIdleConns
  • MaxIdleConnsPerHost
  • MaxConnsPerHost
  • IdleConnTimeout

todo:

  • CheckRedirect -- does it make sense to use the default policy which stops after 10 consecutive requests? do we ever experience redirects to the REST API?
@billscheidel-rai
Copy link

Note: This issue has been migrated to https://relationalai.atlassian.net/browse/RAI-7192.

This link is only accessible to employees of RelationalAI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants