Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rpearce/httpwut
CLI tool to look up HTTP status codes written in Go
https://github.com/rpearce/httpwut
golang http http-status-codes status-codes
Last synced: about 24 hours ago
JSON representation
CLI tool to look up HTTP status codes written in Go
- Host: GitHub
- URL: https://github.com/rpearce/httpwut
- Owner: rpearce
- License: unlicense
- Created: 2022-09-17T03:04:54.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-14T15:17:52.000Z (over 1 year ago)
- Last Synced: 2024-06-21T17:04:58.578Z (4 months ago)
- Topics: golang, http, http-status-codes, status-codes
- Language: Go
- Homepage:
- Size: 68.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# httpwut
CLI tool to lookup HTTP status code information.
_This is a tool for me to learn Go, so you probably shouldn't use this._
```
λ httpwut is -h
Lookup HTTP status codesUsage:
httpwut is [flags]Flags:
-c, --cats Open HTTP Status Cats webpage for status
-d, --dogs Open HTTP Status Dogs webpage for status
-h, --help help for is
-v, --verbose Print status code description and URLλ httpwut is 502
502 - Bad Gatewayλ httpwut is 502 --verbose
502 - Bad Gateway
The server, while acting as a gateway or proxy, received an invalid response from an inbound server it accessed while attempting to fulfill the request.
https://www.rfc-editor.org/rfc/rfc9110.html#name-502-bad-gateway
```Passing `--cats` and/or `--dogs` (you can do both at the time same) will open
the status codes on https://http.cats and https://httpstatusdogs.com,
respectively.