geminispace.info

Unnamed repository; edit this file 'description' to name the repository.
git clone git://code.clttr.info/geminispace.info.git
Log | Files | Refs | README | LICENSE

commit c2dd86ae92ca635f111d4b4c9a55464cff893a10
parent e49e877eb7e21791431ffec6bd85a339ae033ea3
Author: Natalie Pendragon <natpen@natpen.net>
Date:   Sat, 16 May 2020 09:23:21 -0400

[serve] Improve documentation on content type queries

Diffstat:
Mgus/serve.py | 18+++++-------------
1 file changed, 5 insertions(+), 13 deletions(-)

diff --git a/gus/serve.py b/gus/serve.py @@ -154,19 +154,11 @@ def index(request): "", "You can specify a general content type, like `audio`, or a more specific one like `audio/mp3`.", "", - "Here are some useful content types to get started with:", - "- application/pdf", - "- application/zip", - "- audio/mp3", - "- audio/mpeg", - "- image/gif", - "- image/jpg", - "- image/jpeg", - "- image/png", - "- input", - "- text/gemini", - "- text/plain", - "- video/mp4", + "You can find the full list of extant content types on the statistics page, but here are a few example content type queries to get you started:", + "=> /search?content_type:application/pdf application/pdf", + "=> /search?content_type:audio audio", + "=> /search?content_type:image/jpeg image/jpeg", + "=> /search?content_type:input input", "", "## Verbose Mode", "",