From e09d0abf5447cbaa1ea6f07c76585237cf3d30b4 Mon Sep 17 00:00:00 2001 From: pictuga Date: Thu, 7 May 2020 16:05:30 +0200 Subject: [PATCH] morss: remove deprecated peace of code --- morss/morss.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/morss/morss.py b/morss/morss.py index e7f71c8..2d2452b 100644 --- a/morss/morss.py +++ b/morss/morss.py @@ -513,9 +513,6 @@ def cgi_app(environ, start_response): # get the work done url, rss = FeedFetch(url, options) - if headers['content-type'] == 'text/xml': - headers['content-type'] = rss.mimetype[0] - start_response(headers['status'], list(headers.items())) rss = FeedGather(rss, url, options)