mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Rename HttpStatus 308 to Permanent Redirect
Issue: SPR-11854
This commit is contained in:
+2
-2
@@ -317,9 +317,9 @@ public class StatusResultMatchers {
|
||||
}
|
||||
|
||||
/**
|
||||
* Assert the response status code is {@code HttpStatus.RESUME_INCOMPLETE} (308).
|
||||
* Assert the response status code is {@code HttpStatus.PERMANENT_REDIRECT} (308).
|
||||
*/
|
||||
public ResultMatcher isResumeIncomplete() {
|
||||
public ResultMatcher isPermanentRedirect() {
|
||||
return matcher(HttpStatus.valueOf(308));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user