Skip to content

Commit fb893b8

Browse files
committed
Do not set headers to None
This broke WSGI integration with Apache.
1 parent 03f93af commit fb893b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roundup/rest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,11 +1256,11 @@ def post_collection_inner(self, class_name, input):
12561256

12571257
self.client.setHeader(
12581258
"Allow",
1259-
None
1259+
""
12601260
)
12611261
self.client.setHeader(
12621262
"Access-Control-Allow-Methods",
1263-
None
1263+
""
12641264
)
12651265

12661266
# set the response body

0 commit comments

Comments
 (0)