Skip to content

How to disable URL encoding in HttpInterface/HttpExchange client #32041

Closed as not planned
@azeem87

Description

@azeem87

How to disable URL encoding in HttpInterface/HttpExchange client?

@HttpExchange
public interface HttpClient {

   @GetExchange("/{uriPath}")
   Mono<Todos> getTodos(@NotNull @PathVariable String uriPath);

}

If I call HttpClient.getTodos("/todos/1") --> internally final url is getting encoded as "%2Ftodos%2F1".

Expected is "/todos/1".

Now how can I override this behavior not to encode the uriPath of PathVariable?

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: webIssues in web modules (web, webmvc, webflux, websocket)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions