-
Notifications
You must be signed in to change notification settings - Fork 585
Open
Labels
Description
Environment Details
- Helidon Version: 4.3.1
- Helidon SE or Helidon MP: SE
- JDK version: 25.0.1+8.1
- OS: MacOS
Problem Description
In my Helidon SE 4.3.1 application, I have enabled both HTTP/2 and TLS
I have the following dependency included:
<dependency>
<groupId>io.helidon.webserver</groupId>
<artifactId>helidon-webserver-http2</artifactId>
</dependency>
I am noticing that when TLS is enabled and the HTTP version is 2.0, req.content().hasEntity() always returns true, even for GET requests that have no body.
However, when TLS is disabled, req.content().hasEntity() correctly returns false for GET calls using HTTP version 2.0
Similarly, when TLS is enabled and the HTTP version is 1.1, req.content().hasEntity() also returns false correctly for GET calls.
Steps to reproduce
- Use the
helidon-webserver-http2dependency - Configure TLS (Transport Layer Security)
- Send an HTTP/2.0 GET request without a body
I have also attached the reproducer 'Quick Start' application here
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Sprint Scope