diff roundup/rest.py @ 6544:9aa8df0b4426

issue2551178 - fix Traceback in Apache WSGI Alternate way to fix issue I hope. We do want to delete the headers, not just emit them with no value.
author John Rouillard <rouilj@ieee.org>
date Tue, 07 Dec 2021 11:15:04 -0500
parents 982460ed0a23
children 576d630fc908
line wrap: on
line diff
--- a/roundup/rest.py	Tue Dec 07 13:18:09 2021 +0100
+++ b/roundup/rest.py	Tue Dec 07 11:15:04 2021 -0500
@@ -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/