-
Notifications
You must be signed in to change notification settings - Fork 112
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
Adding additional proxy settings #339
Comments
@eddelbuettel any thoughts? |
Not an area I know that much about. As long as it is optional behavior I guess we could. @alfirrell Can you also cook up a use case that needs it? Without, of course, exposing any tokens etc you may need? |
Use-case wise, some specifics we'd want are to be able to specify timeout within the curl options, and to omit the domain. So effectively the curl handle we want is
Could deal with the omitted domain issue by handling nulls better in the e.g.
called with e.g.
|
Is it possible to include a more generic way to set curl options? We have a need to supply additional curl options to those given in
setHandleParameters()
andget_api_cookies()
, and to set theproxyuserpwd
without a domain prefix.Happy to submit a PR with an option, e.g. a
setHandle <- function(handle)
taking an arbitrary curl handle created by the user and assigning straight into.pkgenv[["cookie_handler"]]
The text was updated successfully, but these errors were encountered: