Skip to content

Add HttpBasic ClientWebRequestPostProcessor [SPR-14682] #19246

@spring-projects-issues

Description

@spring-projects-issues

Rob Winch opened SPR-14682 and commented

It would be nice to have a ClientWebRequestPostProcessor that adds HTTP Basic Authorization header. The usage might look like:

webClient
    .perform(get("/").apply(httpBasic("user", "password")))
    ...;

Referenced from: pull request #1164

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions