Skip to content

Commit

Permalink
WSGI headers should be strings
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Dec 11, 2020
1 parent dc9cef7 commit ea83108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/web/framework/middleware/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def process_batch_requests(self, batch_environ, start_response):

batch_response_body = smart_str(json.dumps(responses))
start_response('200 OK', [
('Content-Length', len(batch_response_body)),
('Content-Length', str(len(batch_response_body))),
('Content-Type', 'application/json'),
])
return [batch_response_body]
Expand Down

0 comments on commit ea83108

Please sign in to comment.