When no API version is provided, `/error` requests also fail.
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.