Skip to content

apiversion properties aren't always applied to RestClient #47337

@philwebb

Description

@philwebb

A property like this with service works:
spring.http.client.service.apiversion.insert.header=X-API-Version

The same with restclient doesn't:
spring.http.client.restclient.apiversion.insert.header=X-Version

Reproducer

https://github.com/belyaev-andrey/demo-http-client

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions