Skip to content

The diagnostic is encouraging

Latest
Compare
Choose a tag to compare
@brunobord brunobord released this 07 Dec 22:01
· 8 commits to main since this release

v0.0.2 has been released in 2020-12-07

Following the Specs

  • Added TemplateResponse & TemplateHandler classes for generating Gemini content using template files.
  • Make sure returned responses endlines are not mixed, only CRLF.
  • Handling mimetypes other than text/gemini. Clients would have to download them instead of trying to display them. Example app is amended.
  • Redirect clients when pointing at a static subdirectory without a trailing slash. It caused misdirections because the client was requesting the /document.gmi instead of the /subdir/document.gmi.
  • Improve application resilience after auditing it with gemini-diagnostic. Everything is not perfect, but that's a good start, to be honest.
  • Added BadRequestResponse, ProxyRequestRefusedResponse classes

Other changes

  • Improved conftest for pytest using fixtures for document content.
  • Return version number when using the --version option.
  • Display version number at startup on the welcome message.
  • Added mimetype of response to the access log.
  • Added documentation for Handlers.