opendal icon indicating copy to clipboard operation
opendal copied to clipboard

new feature: allow to set proxy for s3 service

Open trim21 opened this issue 3 weeks ago • 1 comments

Feature Description

I'm using python binding and it would be nice to allow to set proxy per operator without change the global env

Problem and Solution

I'm using s3 between GFW which would need some proxy to get good connection quality , but it's not possible to set proxy for just one operator.

It would be nice to allow set a proxy for a operator:

opendal.Operator(
    "s3",
    ...,
    proxy="...",
)

Additional Context

No response

Are you willing to contribute to the development of this feature?

  • [ ] Yes, I am willing to contribute to the development of this feature.

trim21 avatar Dec 06 '25 16:12 trim21

I think it's a general problem: how do we expose config from core to bindings? Rust user can just use its own HTTP client, but we need to pick one for Python.

My current idea is that we can have a general config system so users can set the behavior details for every component in the core.

Xuanwo avatar Dec 08 '25 09:12 Xuanwo