content-length header is missing on delete api after upgrading java services to spring boot version : 3.4.1 #43935
Labels
status: waiting-for-feedback
We need additional information before we can continue
status: waiting-for-triage
An issue we've not yet triaged
After upgrading our java services to the latest Spring Boot version (3.4.1), we encountered an issue with the DELETE API.
When a request from the gateway service (v3.4.1) is routed to a Node.js service (v22.12.0), the
Content-Length
header is missing from the request headers for DELETE APIs.This header is present in the previous Spring Boot version (v3.3.5) that we were using. Although the DELETE API does not have a request payload, the Node.js service enforces a check for the Content-Length header, expecting it to be explicitly set to 0. This check is implicitly enforced by the Fastify library used in the Node.js repository.
There is no information provided on the spring-boot release notes.
Therefore, we have been unable to determine the cause of this change in the request headers and have reverted to the previous Spring Boot version (v3.3.5), which functions correctly.
ERROR LOGS :
The text was updated successfully, but these errors were encountered: