This is a hack-once-and-forget makefile and scripts to build a shell script that greps http status codes gotten from IANA.
The code is horrible and to be honest, this was written for fun only.
- curl the http status code registry csv from the IANA
- preprocess it to be a csv with one entry per line (no ranges)
- Build a stand-alone shell script from this
Run make
to get the script that then gets generated as http-status-codes.sh