Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[FrameworkBundle] change the way http clients are configured by leveraging ScopingHttpClient #30674
This PR allows configuring scoped HTTP clients ("scoped_clients" replaces the previous "clients" options):
framework: http_client: max_host_connections: 4 default_options: # ... scoped_clients: github_client: base_uri: https://api.github.com headers: Authorization: token abc123 # ...
The base URI is turned into a scoping regular expression so that the token will be sent only when the
referenced this pull request
Mar 24, 2019
I suppose you mean body request?