<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pakakeh.go/lib/http/testdata/Server_HandleFS/b.html, branch dev</title>
<subtitle>Collections of packages and tools for working with Go programming language.</subtitle>
<id>http://git.kilabit.info/pakakeh.go/atom?h=dev</id>
<link rel='self' href='http://git.kilabit.info/pakakeh.go/atom?h=dev'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/'/>
<updated>2026-02-05T12:26:29Z</updated>
<entry>
<title>lib/http: handle file system with canonical directory end with slash "/"</title>
<updated>2026-02-05T12:26:29Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-02-05T12:26:29Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/pakakeh.go/commit/?id=3734420eec485bca8c18243741e1ad2a683515b7'/>
<id>urn:sha1:3734420eec485bca8c18243741e1ad2a683515b7</id>
<content type='text'>
Previously, if request to directory does not end with "/", the HTTP
server will return the index.html of that directory.
This cause relative link inside the index.html broken when visited from
browser.

This changes make the request to directory always end with "/" by
redirecting the request with status 303 Found.
</content>
</entry>
</feed>
