Added printing of status code by response classes. Close #8
This commit is contained in:
parent
7b3e4adfc8
commit
1fca084fc9
3 changed files with 37 additions and 11 deletions
11
README.md
11
README.md
|
@ -302,3 +302,14 @@ $ java -jar httpstatus-1.1.0.jar
|
|||
226: IM Used
|
||||
...
|
||||
```
|
||||
You can also print status codes by [response classes](https://www.rfc-editor.org/rfc/rfc9110.html#name-status-codes):
|
||||
|
||||
```sh
|
||||
$ java -jar httpstatus-1.1.0.jar 2xx
|
||||
200: OK
|
||||
201: Created
|
||||
202: Accepted
|
||||
203: Non-Authoritative Information
|
||||
204: No Content
|
||||
...
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue