Appended some distinguishable text to the generic reason phrase returned by HttpResponseStatus.valueOf(int)
This commit is contained in:
parent
a4172500d5
commit
ccecb0af2c
@ -336,7 +336,7 @@ public class HttpResponseStatus implements Comparable<HttpResponseStatus> {
|
||||
reasonPhrase = "Unknown Status";
|
||||
}
|
||||
|
||||
return new HttpResponseStatus(code, reasonPhrase);
|
||||
return new HttpResponseStatus(code, reasonPhrase + " (" + code + ')');
|
||||
}
|
||||
|
||||
private final int code;
|
||||
|
Loading…
Reference in New Issue
Block a user