Skip to content

Support proxy and user-agent in fsspec calls #6046

Open
@lhoestq

Description

@lhoestq

Since we switched to the new HfFileSystem we no longer apply user's proxy and user-agent.

Using the HTTP_PROXY and HTTPS_PROXY environment variables works though since we use aiohttp to call the HF Hub.

This can be implemented in _prepare_single_hop_path_and_storage_options.

Though ideally the HfFileSystem could support passing at least the proxies

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestgood second issueIssues a bit more difficult than "Good First" issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions