summaryrefslogtreecommitdiff
path: root/issues/index-commit-messages.gmi
diff options
context:
space:
mode:
authorArun Isaac2022-07-20 02:04:07 +0530
committerArun Isaac2022-07-20 16:32:56 +0530
commit8ec2730db7031a05d63f59ba7080f13da9677d2d (patch)
tree118ac662e2de0c4a5e27dc526136f2b440ce7e00 /issues/index-commit-messages.gmi
parenteecc9610a1c087510436ccadccca38365dfdab7f (diff)
downloadtissue-8ec2730db7031a05d63f59ba7080f13da9677d2d.tar.gz
tissue-8ec2730db7031a05d63f59ba7080f13da9677d2d.tar.lz
tissue-8ec2730db7031a05d63f59ba7080f13da9677d2d.zip
web: server: Respond to a static file request with a bytevector.
If the response to a static file request is returned as a procedure, (web server) tries to interpret the response as text. This results in encoding errors with binary files. Fixing this is not worth the trouble since (tissue web server) is anyway not meant to serve large static files. Large static files should be served using a more capable server such as nginx. * tissue/web/server.scm (handler): Return response to a static file request as a bytevector, instead of as a procedure.
Diffstat (limited to 'issues/index-commit-messages.gmi')
0 files changed, 0 insertions, 0 deletions