-
Notifications
You must be signed in to change notification settings - Fork 38.9k
Open
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: waiting-for-triageAn issue we've not yet triaged or decided onAn issue we've not yet triaged or decided on
Description
I am experimenting with the API Versioning feature introduced in Spring 7.
When I send a request without specifying an API version, I receive an empty response body, as shown below:
~ > curl -XGET localhost:8080/foo/bar -i
HTTP/1.1 400
Content-Length: 0
Date: Sat, 20 Dec 2025 18:17:10 GMT
Connection: close
According to the following code:
the /foo/bar request fails in the initApiVersion(request) method.
The subsequent /error request also fails at the same point and never reaches the ErrorController, which is responsible for generating the response body.
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: waiting-for-triageAn issue we've not yet triaged or decided onAn issue we've not yet triaged or decided on