News for hackers. Stuff that matters.
Re:KnightOS was an interesting operating system by wolf550e on Tuesday January 28, 2020 @10:54AM (#22170484)
Do you mean like Apache mod_asis [0] which will serve a pre-formatted HTTP response, including the headers, directly from disk?

Then your HTTP server can speak very little HTTP (compare request line to preformatted "GET /file HTTP/", return 404 on mismatch, return preformtted response on match). Maybe also return nice error if request does not have accept-encoding: gzip.

0 - https://httpd.apache.org/docs/2.4/mod/mod_asis.html

There are no comments on this comment yet.