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

Support for Network Proxies #10

Open
redraiment opened this issue Nov 6, 2024 · 1 comment
Open

Support for Network Proxies #10

redraiment opened this issue Nov 6, 2024 · 1 comment

Comments

@redraiment
Copy link

Is there a consideration to support network proxies? For example, setting network proxies via function arguments or environment variables.

@lmangani
Copy link
Collaborator

lmangani commented Nov 6, 2024

The underlying library is httplib used by DuckDB so technically speaking anything httplib can be used and/or attached to a parameter, ie:

// Set Proxy
cli.set_proxy("host", port);

// Basic Authentication
cli.set_proxy_basic_auth("user", "pass");

// Digest Authentication
cli.set_proxy_digest_auth("user", "pass");

// Bearer Token Authentication
cli.set_proxy_bearer_token_auth("pass");

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

No branches or pull requests

2 participants