content_mime
parameter
=> 45f5e8f935f094393e7f53c81199a2274b4802fc
[1mdiff --git a/feeds.py b/feeds.py[m [1mindex 2953fe0..9055aa7 100644[m [1m--- a/feeds.py[m [1m+++ b/feeds.py[m [36m@@ -139,7 +139,7 @@[m [mdef make_post_page_or_configure_feed(session):[m return 10, f'New post in {session.context.title()}: (see Help for special commands)'[m seg_text = clean_query(req)[m else:[m [31m- if not req.content_mime.startswith('text/'):[m [32m+[m[32m if req.content_mime and not req.content_mime.startswith('text/'):[m return 50, 'Content must be text'[m seg_text = req.content.decode('utf-8')[m [m
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).