Skip to content
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

Pass options to HTTPBuilder in parse_url_opts (#5310) #5311

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

tustvold
Copy link
Contributor

@tustvold tustvold commented Jan 19, 2024

Which issue does this PR close?

Closes #5310

Rationale for this change

#4516 added options support to HttpBuilder, but didn't hook it up in parse_url_opts. This fixes that omission.

What changes are included in this PR?

Are there any user-facing changes?

@github-actions github-actions bot added the object-store Object Store Interface label Jan 19, 2024
@tustvold tustvold merged commit ff5a84d into apache:master Jan 19, 2024
13 checks passed
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Is there any way to test this change? Or is it already covered and this is just a code cleanup?

It seems it changes functionality but we could potentially break that functionality with some future refactor as there is no test coverage

@CarlKCarlK
Copy link

[Also added to the issue]

You need to add line 167 back in or this fix doesn't work.
Here is the missing line:

    let url = &url[..url::Position::BeforePath];

@tustvold
Copy link
Contributor Author

Tests and fix in #5316, thank you for flagging 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
object-store Object Store Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pass Options to HttpBuilder in parse_url_opts
4 participants