Commit graph

16 commits

Author SHA1 Message Date
Johann150
e4dacd1315 implement basic directory listing 2020-12-27 11:30:53 -08:00
Matt Brubeck
a3b1e2d0f9 Fix typo 2020-12-22 20:52:22 -08:00
Matt Brubeck
a2f6f5932f Enable logging by default 2020-12-22 17:42:23 -08:00
Matt Brubeck
7a117f3a47 Option to add a language code to text/gemini responses 2020-12-22 16:16:42 -08:00
Matt Brubeck
dfa5dbd971 Use getopts for option parsing 2020-12-22 16:09:05 -08:00
Matt Brubeck
8b418ea09f Fix typo in README 2020-11-20 14:46:50 -08:00
Johann150
7ef914153b
add host and port checks
If the host does not match, the status code 53 should be used. But I am not sure how
to implement this best as the parse_request function only returns a String as error.
2020-11-14 11:15:30 +01:00
Tronje Krabbe
b33417198c Add some simple logging via the env_logger crate 2020-11-09 16:55:09 +01:00
Matt Brubeck
75a0d127a1 Remove duplicated instructions 2020-09-22 10:59:50 -07:00
Matt Brubeck
9b260dfdd2 Link to pre-compiled binary 2020-06-20 10:53:10 -07:00
Matt Brubeck
7899d9addb Change file extension from .gemini to .gmi 2020-06-07 08:53:32 -07:00
Matt Brubeck
039057b8db Improve request parsing 2020-05-22 08:32:44 -07:00
Matt Brubeck
ce570fc8c4 Auto-detect MIME types 2020-05-21 15:29:04 -07:00
Matt Brubeck
6f490876cd Check URL schemes 2020-05-21 10:36:49 -07:00
Matt Brubeck
2b26ed9167 README 2020-05-20 14:51:00 -07:00
Matt Brubeck
1715dfb584 Initial commit 2020-05-16 22:16:46 -07:00