Format/typo check 2004/hibachi/README.md

With the exception of a possible task for 2004/gavin this should be the
completion of 2004!
This commit is contained in:
Cody Boone Ferguson committed 2023-11-19 15:47:59 -08:00
1 parent e5273c3404
commit 5f0159e424
1 file changed
+10 -10
+10 -10
View File
@@ -46,7 +46,7 @@ so the file does not exist here.
`Hibachi` is a simple, small, and (probably) very secure web server. `Hibachi` is a simple, small, and (probably) very secure web server.
There is a `hibachi.tgz` file that unpacks several support There is a `hibachi.tgz` file that unpacks several support
files and a sub-directory tree containing the documentation and files and a subdirectory tree containing the documentation and
examples. It can be viewed by: examples. It can be viewed by:
```sh ```sh
@@ -54,9 +54,10 @@ tar -zxf hibachi.tgz
lynx hibachi/localhost/index.html lynx hibachi/localhost/index.html
``` ```
Or once `Hibachi` is running, use a web browser, preferably one that Or once `Hibachi` is running, use a web browser (preferably one that
supports images and JavaScript, to view the documentation and try supports images and JavaScript, to view the documentation and try
some of the CGI examples, visit: http://localhost:8008/. some of the CGI examples) to visit: `http://localhost:8008/`.
### Building ### Building
@@ -120,14 +121,13 @@ kill %1
* Supports [Common Gateway Interface * Supports [Common Gateway Interface
(CGI)](https://en.wikipedia.org/wiki/Common_Gateway_Interface) scripts and programs. (CGI)](https://en.wikipedia.org/wiki/Common_Gateway_Interface) scripts and programs.
* Supports multiple index.* file types: * Supports multiple `index.*` file extensions and types:
index.htm, index.html, index.php, index.pl, index.sh, index.rb, index.py index.htm, index.html, index.php, index.pl, index.sh, index.rb, index.py
* Supports subset of [RFC 2616](https://datatracker.ietf.org/doc/html/rfc2616) * Supports subset of [RFC 2616](https://datatracker.ietf.org/doc/html/rfc2616)
[HTTP](https://en.wikipedia.org/wiki/HTTP)/1.1 methods: [HTTP/1.1](https://en.wikipedia.org/wiki/HTTP) methods: `GET`, `HEAD`, and
`POST`.
`GET`, `HEAD`, and `POST`
* Simple & straight forward configuration using environment variables. * Simple & straight forward configuration using environment variables.
@@ -147,15 +147,15 @@ snooping](https://cwe.mitre.org/data/definitions/23.html).
* CGI script execution managed through Unix file permissions. * CGI script execution managed through Unix file permissions.
* ~155 lines of source, * ~155 lines of source, 1940 bytes long by IOCCC 2004 rules, ~6KB compiled &
1940 bytes long by IOCCC 2004 rules, stripped for FreeBSD.
~6KB compiled & stripped for FreeBSD.
* Superior & smaller than * Superior & smaller than
[micro_httpd](http://www.acme.com/software/micro_httpd/) from <http://www.acme.com/>. [micro_httpd](http://www.acme.com/software/micro_httpd/) from <http://www.acme.com/>.
* And has a really cool tongue-in-cheek animated logo too. * And has a really cool tongue-in-cheek animated logo too.
### Comments ### Comments
* This code is properly indented using the [One True Brace * This code is properly indented using the [One True Brace