forked from tslocum/twins
Fork 0

Add proposals doc

Trevor Slocum 2020-11-09 13:59:30 -08:00
parent e3aeb18053
commit e8af67c813
3 changed files with 49 additions and 1 deletions

View File

@ -135,7 +135,7 @@ may configure twins to send standard `\n` (LF) line endings by setting
# Example config.yaml

44 Normal file
View File

@ -0,0 +1,44 @@
This page is also available at [gemini://](gemini://
The following proposals add fields to the response header of successful
Standard successful response header (for comparison):
20 text/gemini; charset=utf-8
These additions are backwards-compatible as specified in [RFC 2045](
> MIME implementations must ignore any parameters whose names they do not recognize.
The terms MAY, SHOULD and SHOULD NOT are defined in [RFC 2119](
# Size
Gemini servers SHOULD include the size (in bytes) of the response body when the
request is successful. Clients SHOULD utilize this information when downloading
files to indicate progress.
20 text/gemini; charset=utf-8; size=1108
# Cache
Gemini servers MAY include a duration (in seconds) which a client SHOULD cache
a resource when the request is successful. When a cache duration of 0 or
less is provided, clients SHOULD NOT cache the resource.
Cache for one week:
20 text/gemini; charset=utf-8; cache=604800
Do not cache:
20 text/gemini; charset=utf-8; cache=0

View File

@ -19,6 +19,10 @@ This page is also available at [gemini://](gemini://twins.
- Serve system command output
- Reload configuration on `SIGHUP`
## Proposals
twins includes features that are not yet part of the Gemini specification. See [](
## Download