diff mbox series

[layerindex-web,4/4] BranchComparison: use mime type text/x-rst rST

Message ID 20260211195536.10278-4-tim.orling@konsulko.com
State New
Headers show
Series [layerindex-web,1/4] requirements: bump to fix vulnerabilities | expand

Commit Message

Tim Orling Feb. 11, 2026, 7:55 p.m. UTC
https://docutils.sourceforge.io/FAQ.html#what-s-the-official-mime-type-for-restructuredtext-data

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 layerindex/urls.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/layerindex/urls.py b/layerindex/urls.py
index 7555907..51a832d 100644
--- a/layerindex/urls.py
+++ b/layerindex/urls.py
@@ -197,7 +197,7 @@  urlpatterns = [
         name='branch_comparison_plain'),
     re_path(r'^branch_comparison_rst/$',
         BranchCompareView.as_view(
-            content_type='text/plain; charset=utf-8',
+            content_type='text/x-rst; charset=utf-8',
             template_name='layerindex/branchcompare_rst.txt'),
         name='branch_comparison_rst'),
     re_path(r'^branch_comparison_csv/$',