From 1266c5859b15e52be163255ba607973930b69065 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Fri, 24 Jun 2022 10:50:26 -0500 Subject: [PATCH] Serve OPDS as application/xml --- config/apache/standardebooks.org.conf | 6 +++--- config/apache/standardebooks.test.conf | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/apache/standardebooks.org.conf b/config/apache/standardebooks.org.conf index 6f4d0995..6251d592 100644 --- a/config/apache/standardebooks.org.conf +++ b/config/apache/standardebooks.org.conf @@ -102,15 +102,15 @@ Define webroot /standardebooks.org/web Header set Content-Type "text/plain" - # text/xml allows the page to be displayed in a browser. application/atom+xml will cause it to be downloaded. + # application/xml allows the page to be displayed in a browser. application/atom+xml will cause it to be downloaded. DirectoryIndex index.xml - Header set Content-Type "text/xml" + Header set Content-Type "application/xml" # application/xml allows the page to be displayed in a browser and the encoding to be # determined from the document and not the HTTP headers. application/rss+xml will cause it to be downloaded. - + Header set Content-Type "application/xml" diff --git a/config/apache/standardebooks.test.conf b/config/apache/standardebooks.test.conf index 5f896dbe..47d9912b 100644 --- a/config/apache/standardebooks.test.conf +++ b/config/apache/standardebooks.test.conf @@ -101,15 +101,15 @@ Define webroot /standardebooks.org/web Header set Content-Type "text/plain" - # text/xml allows the page to be displayed in a browser. application/atom+xml will cause it to be downloaded. + # application/xml allows the page to be displayed in a browser. application/atom+xml will cause it to be downloaded. DirectoryIndex index.xml - Header set Content-Type "text/xml" + Header set Content-Type "application/xml" # application/xml allows the page to be displayed in a browser and the encoding to be # determined from the document and not the HTTP headers. application/rss+xml will cause it to be downloaded. - + Header set Content-Type "application/xml"