Skip to content

[HttpClient] query configuration is no longer respected in 5.2.8 #41220

Closed
@mynameisbogdan

Description

@mynameisbogdan

Symfony version(s) affected: 5.2.8

Description
Setting a query configuration for a scoped client is no longer respected in 5.2.8

How to reproduce

framework:
    http_client:
        scoped_clients:
            example_api.http_client:
                base_uri: '%env(EXAMPLE_API_BASE_URI)%'
                query:
                    queryCode: '%env(EXAMPLE_API_QUERY_CODE)%'

Possible Solution

Additional context
Reverting back to 5.2.7 it works as indented, as in queryCode is sent in the request.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions