mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-26 00:39:01 +00:00
Update unprocessableEntity to allow body
Issue: SPR-12515
This commit is contained in:
@@ -252,7 +252,7 @@ public class ResponseEntity<T> extends HttpEntity<T> {
|
||||
* @return the created builder
|
||||
* @since 4.1.3
|
||||
*/
|
||||
public static HeadersBuilder<?> unprocessableEntity() {
|
||||
public static BodyBuilder unprocessableEntity() {
|
||||
return status(HttpStatus.UNPROCESSABLE_ENTITY);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user