Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #33973 [HttpClient] add HttpClient::createForBaseUri() (nicol…
…as-grekas) This PR was merged into the 4.4 branch. Discussion ---------- [HttpClient] add HttpClient::createForBaseUri() | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - I've seen ppl use `HttpClient::create()` with default `base_uri` & `auth_bearer`. That's a security risk as the bearer would be sent to any hosts that the client requests. Instead, ppl should use `ScopingHttpClient`. The new method should help to discover and use it. Commits ------- 1aa9a11 [HttpClient] add HttpClient::createForBaseUri()
- Loading branch information