Skip to content

default User-Agent header to map to spring.application.name #17041

Closed
@ckoutsouridis

Description

@ckoutsouridis

Whether using RestTemplate or WebClientBuilder, would it make sense to use as default User-Agent header the value of spring.application.name?

At the moment i am using a "custom" RestTemplateCustomizer that is injecting this header. for RestTemplate and defaultHeaders method for WebClientBuilder, but i think it makes sense for the User-Agent to be set to spring.application.name by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: declinedA suggestion or change that we don't feel we should currently apply

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions