Skip to content

Releases: rednafi/httpurr

v0.1.2

03 Sep 18:45
Compare
Choose a tag to compare
  • Introduces short flags. Now you can invoke --list with -l or pass status code after -c flag:
    httpurr -l --cat 3
    httpurr -c 200
  • Invoke the help httpurr -h:
    ᗢ httpurr
    ==========
    
    Usage of httpurr:
      --cat [category]
            Print HTTP status codes by category with --list;
            allowed categories are 1, 2, 3, 4, 5
      -c, --code [status code]
            Print the description of an HTTP status code
      -h, --help
            Print usage
      -l, --list
            Print HTTP status codes
      -v, --version
            Print version

v0.1.1

29 Aug 05:33
dc4bd1f
Compare
Choose a tag to compare
  • Adds a new -cat flag to filter the status codes. Use it like this:

    httpurr -list -cat 2
    ᗢ httpurr
    ==========
    
    Status Codes
    ------------
    
    ------------------ 2xx ------------------
    
    200    OK
    201    Created
    202    Accepted
    203    Non-Authoritative Information
    204    No Content
    205    Reset Content
    206    Partial Content
    207    Multi-Status
    208    Already Reported
    226    IM Used
  • More rigorously tests the error paths

  • Returns more consistent exit codes; flag errors will exit with error code 2 and other errors will return error code 1

v0.1.0-alpha

27 Aug 07:48
Compare
Choose a tag to compare

To list all the HTTP status codes:

httpurr -list

To print a status code description:

httpurr -code 200

v0.1.0

27 Aug 19:05
Compare
Choose a tag to compare
  • Print the options:

    httpurr -help
  • List the HTTP status codes:

    httpurr -list
  • Display a status code's description:

    httpurr -code 200