Open
Description
When sending a request to a resource with an invalid range, the server responds with a 500 Internal server error instead of 416 Requested range not satisfiable.
When the ResourceHttpRequestHandler
is executed with an invalid range then it will call the HttpServletResponse.sendError(HttpServletResponse.SC_REQUESTED_RANGE_NOT_SATISFIABLE)
method:
ProblemDetail
body response, so the writeWithMessageConverters
method in AbstractMessageConverterMethodProcessor
will throw a HttpMessageNotWritableException
from: valueType
is java.util.LinkedHashMap
and contentType
is multipart/form-data
)