Skip to content

Commit 66f822e

Browse files
fkomaulisbrannen
authored andcommitted
Fix typo in Javadoc for UnsupportedMediaTypeStatusException
Response status 415 (unsupported media type) reported as of 416 (which is Range Not Satisfiable), mismatching with superclass constructor parameter HttpStatus.UNSUPPORTED_MEDIA_TYPE
1 parent dfc193b commit 66f822e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-web/src/main/java/org/springframework/web/server/UnsupportedMediaTypeStatusException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import org.springframework.lang.Nullable;
2626

2727
/**
28-
* Exception for errors that fit response status 416 (unsupported media type).
28+
* Exception for errors that fit response status 415 (unsupported media type).
2929
*
3030
* @author Rossen Stoyanchev
3131
* @since 5.0

0 commit comments

Comments
 (0)