The payload for clack/woo can be a pathname, a list of strings, AND a vector of bytes; the latter allows web server to generate bytes (image, pdf, etc) without needing it to be a file on disk.
Before, returning a vector would complain about being the wrong type.
e.g. something like this now works, where it didn't before - find-static-file just returns a pathname of a png:
The payload for clack/woo can be a pathname, a list of strings, AND a vector of bytes; the latter allows web server to generate bytes (image, pdf, etc) without needing it to be a file on disk.
Before, returning a vector would complain about being the wrong type.
e.g. something like this now works, where it didn't before -
find-static-file
just returns a pathname of a png: