Clientless pattern with relative URL doesn't pick up configured default base URL
Closed this issue · 0 comments
tmenier commented
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