commit c7ab03d8b5cd5bd98d0844c6a1c3a103c0a33809
parent 4d825da633611e2245231cea464f49cdeb71c561
Author: Natalie Pendragon <natpen@natpen.net>
Date: Sat, 9 May 2020 17:23:54 -0400
[serve] Update content_type search documentation
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gus/serve.py b/gus/serve.py
@@ -76,14 +76,18 @@ def index(request):
"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"
+ "- text/plain",
+ "- video/mp4"
])
data.extend(_render_footer())
return Response(Status.SUCCESS, "text/gemini", "\n".join(data))