diff roundup/rest.py @ 6543:982460ed0a23

Do not set headers to None This broke WSGI integration with Apache.
author Ralf Schlatterbeck <rsc@runtux.com>
date Tue, 07 Dec 2021 13:18:09 +0100
parents f8df7fed18f6
children 9aa8df0b4426
line wrap: on
line diff
--- a/roundup/rest.py	Thu Dec 02 23:15:17 2021 -0500
+++ b/roundup/rest.py	Tue Dec 07 13:18:09 2021 +0100
@@ -1256,11 +1256,11 @@
 
         self.client.setHeader(
             "Allow",
-            None
+            ""
         )
         self.client.setHeader(
             "Access-Control-Allow-Methods",
-            None
+            ""
         )
 
         # set the response body

Roundup Issue Tracker: http://roundup-tracker.org/