<feed xmlns='http://www.w3.org/2005/Atom'>
<title>spiffy/simple-directory-handler.scm, branch 6.5</title>
<subtitle>Spiffy is a small web server written in pure Scheme.
</subtitle>
<id>https://code.more-magic.net/spiffy/atom?h=6.5</id>
<link rel='self' href='https://code.more-magic.net/spiffy/atom?h=6.5'/>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/spiffy/'/>
<updated>2026-10-05T11:07:22Z</updated>
<entry>
<title>Fix content-length to use byte count instead of char count on C6</title>
<updated>2026-10-05T11:07:22Z</updated>
<author>
<name>Peter Bex</name>
<email>peter@more-magic.net</email>
</author>
<published>2026-10-05T11:07:22Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/spiffy/commit/?id=136d2d65ecdf77e5ced5b22e9c26bdc3c6ccf971'/>
<id>urn:sha1:136d2d65ecdf77e5ced5b22e9c26bdc3c6ccf971</id>
<content type='text'>
Also, default to utf-8 charsets in default mime type map and default
response headers and when sending status responses and in the simple
directory handler.
</content>
</entry>
<entry>
<title>Add support for CHICKEN 6</title>
<updated>2024-09-12T13:41:24Z</updated>
<author>
<name>Peter Bex</name>
<email>peter@more-magic.net</email>
</author>
<published>2024-09-12T13:41:24Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/spiffy/commit/?id=072f058ff66ee8e2e7865307040ab5e9c8c75b48'/>
<id>urn:sha1:072f058ff66ee8e2e7865307040ab5e9c8c75b48</id>
<content type='text'>
This is backwards-compatible - there are only a handful of changes
needed, so we don't have to make a hard break here.
</content>
</entry>
<entry>
<title>Properly encode paths in simple-directory-handler</title>
<updated>2019-12-21T15:15:18Z</updated>
<author>
<name>Peter Bex</name>
<email>peter@more-magic.net</email>
</author>
<published>2019-12-21T15:10:11Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/spiffy/commit/?id=8c3da92b9a103a36dc69d78518f3d22cdc116246'/>
<id>urn:sha1:8c3da92b9a103a36dc69d78518f3d22cdc116246</id>
<content type='text'>
The original simple-directory-handler would only html-encode paths to
files.  This is obviously completely bogus; the path strings need to
get everything except slashes encoded.

Without this change, paths containing spaces or brackets of any kind
would result in links which caused the server to reject the request,
because the resulting URI would be invalid.  Browsers aren't always
smart enough to properly encode all special characters (which makes
sense, because they shouldn't mess with URIs, but they sometimes do,
which means we never really noticed this).

Also get rid of those ugly [] parenthesis synonyms and update
copyright year.
</content>
</entry>
<entry>
<title>Port to CHICKEN 5</title>
<updated>2018-07-29T17:39:39Z</updated>
<author>
<name>Peter Bex</name>
<email>peter@more-magic.net</email>
</author>
<published>2018-07-29T17:39:39Z</published>
<link rel='alternate' type='text/html' href='https://code.more-magic.net/spiffy/commit/?id=776d00c6cd7cabc16f13a18eee54fa2f3f36bf21'/>
<id>urn:sha1:776d00c6cd7cabc16f13a18eee54fa2f3f36bf21</id>
<content type='text'>
</content>
</entry>
</feed>
