Skip to content

Http client Type of JDK gives "empty headers are not allowed" with webmvc.fn #34314

@wimdeblauwe-swmu

Description

@wimdeblauwe-swmu

I created this issue in response to spring-cloud/spring-cloud-gateway#3525 (comment). See the linked issue for all the details. The main issue is that java.lang.IllegalArgumentException: empty headers are not allowed [] is returned when using IntelliJ's HTTP Client, or if you remove the default headers that httpie or curl uses.

@spencergibb can provide a reproducer if needed.

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