Skip to content

Conversation

@JR-1991
Copy link
Member

@JR-1991 JR-1991 commented Feb 14, 2025

As noted in #22, the current implementation of DVUploader doesn't handle proxy settings. This PR resolves that issue by adding a proxy option. This option allows you to pass an address to the upload method, which then uses the proxy capabilities provided by httpx.

Additionally, the PR includes a test for the non-direct-upload scenario to ensure that the proxy functionality works as expected. Although direct uploads have also been tested, the Datavere Action currently does not support the direct upload feature.

@JR-1991 JR-1991 added bug Something isn't working enhancement New feature or request labels Feb 14, 2025
@JR-1991 JR-1991 added this to the 0.3.0 milestone Feb 14, 2025
@JR-1991 JR-1991 self-assigned this Feb 14, 2025
@JR-1991 JR-1991 requested a review from pdurbin February 14, 2025 11:27
Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't test this but it looks reasonable.

@JR-1991 JR-1991 merged commit af31e46 into main Feb 26, 2025
12 checks passed
@JR-1991 JR-1991 deleted the add-proxy-option branch April 16, 2025 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

Development

Successfully merging this pull request may close these issues.

dvuploader doesn't work with custom proxy settings

3 participants