Skip to content

Extra arguments for curl handle #13

@djhurio

Description

@djhurio

I have to add extra arguments for curl handle in my environment. Those arguments are proxyusername, proxyuserpwd, proxyauth, useragent. I have managed to add them to the c.handle object in "api.R" file (in three places). This works for some cases. But not for all. Some examples are still failing with 407 error. For example:

> # search Landsat-5 images using rtoi
> rsat_search(
+   region = navarre,
+   product = "LANDSAT_TM_C1",
+   dates = as.Date("1988-08-01") + seq(1, 35)
+ )
Searching scenes in the LANDSAT_TM_C1 product...
Error in curl::curl_fetch_memory(url, handle = handle) :
Received HTTP code 407 from proxy after CONNECT

Could you please point me to the place in code where the handle is defined for this example? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions