| tag name | v0.1.2 (f052124a9ebe60a551b3abeabbeee2b447edbe81) |
| tag date | 2020-10-27 13:48:24 -0400 |
| tagged by | Adnan Maolood <[email protected]> |
| tagged object | commit 9079be9019... |
| download | archived-go-gemini-0.1.2.tar.xz archived-go-gemini-0.1.2.zip |
|---|
Version 0.1.2 is released!
Version 0.1.2 brings some minor additions and improvements.
It adds the function ServeFile, which makes it easy to serve a file from
a FS. Be sure to sanitize user input before passing it to this function!
It also adds the function (*ResponseWriter).WriteStatus, which allows
you to write response headers without caring about status messages.
The functions NotFound, Gone, CertificateRequired, and
CertificateNotAuthorized have been removed since they do not provide
any real advantage over WriteStatus.
It also adds the function NewRequestFromURL, which allows you to create
a request from a URL in parsed form.