@@ -86,7 +86,7 @@ Include the following in your `bld` build file:
8686repositories = List . of(MAVEN_CENTRAL , CENTRAL_SNAPSHOTS );
8787
8888scope(compile). include(
89- dependency(" net.thauvin.erik.httpstatus" ," httpstatus" , version(2 , 0 , 0 ))
89+ dependency(" net.thauvin.erik.httpstatus" , " httpstatus" , version(3 , 0 , 0 , " SNAPSHOT " ))
9090);
9191```
9292
@@ -104,7 +104,7 @@ repositories {
104104}
105105
106106dependencies {
107- implementation 'net.thauvin.erik.httpstatus:httpstatus:2 .0.0'
107+ implementation 'net.thauvin.erik.httpstatus:httpstatus:3 .0.0-SNAPSHOT '
108108}
109109```
110110
@@ -361,15 +361,15 @@ The reasons are defined in a [ResourceBundle](https://docs.oracle.com/en/java/ja
361361You can query the reason phrase for status codes as follows:
362362
363363``` console
364- > java -jar httpstatus-2 .0.0.jar 404 500
364+ > java -jar httpstatus-3 .0.0.jar 404 500
365365404: Not Found
366366500: Internal Server Error
367367```
368368
369369If no status code is specified, all will be printed:
370370
371371``` console
372- > java -jar httpstatus-2 .0.0.jar
372+ > java -jar httpstatus-3 .0.0.jar
373373100: Continue
374374101: Switching Protocols
375375102: Processing
@@ -389,7 +389,7 @@ If no status code is specified, all will be printed:
389389You can also print status codes by [ classes] ( https://datatracker.ietf.org/doc/html/rfc7231#section-6 ) :
390390
391391``` console
392- > java -jar httpstatus-2 .0.0.jar 2xx
392+ > java -jar httpstatus-3 .0.0.jar 2xx
393393200: OK
394394201: Created
395395202: Accepted
0 commit comments