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

Clientless pattern with relative URL doesn't pick up configured default base URL #803

Closed
tmenier opened this issue Jan 17, 2024 · 0 comments
Labels

Comments

@tmenier
Copy link
Owner

tmenier commented Jan 17, 2024

First mentioned here. This doesn't work as expected:

FlurlHttp.Clients.WithDefaults(builder =>
    builder.ConfigureHttpClient(cli => cli.BaseAddress = new Uri("https://flurl.dev")));

await "/docs/fluent-http/".GetAsync(); // fails: uses configured client but neglects to prepend base URL
@tmenier tmenier added the bug label Jan 17, 2024
@tmenier tmenier added this to Backlog in Default Project via automation Jan 17, 2024
@tmenier tmenier moved this from Backlog to Ready in Default Project Jan 17, 2024
@tmenier tmenier closed this as completed Jan 17, 2024
Default Project automation moved this from Ready to Released Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Default Project
  
Released
Development

No branches or pull requests

1 participant