Permalink
Browse files

bugfix: nginx proxy_pass "502 Bad Gateway" because of missing '\r\n'

  • Loading branch information...
debrunner committed Feb 6, 2018
1 parent bc714b5 commit 0788cde77b673e1d1ea58fb7232a701a7d4e742c
Showing with 1 addition and 1 deletion.
  1. +1 −1 wfrender/renderer/http.py
@@ -136,7 +136,7 @@ def do_GET(self):
self.send_response(302)
self.send_header('Location', self.headers["Referer"] if self.headers.has_key("Referer") else "/")
self.wfile.write(cookie)
self.wfile.write(cookie.output()+'\r\n')
self.end_headers()
return

0 comments on commit 0788cde

Please sign in to comment.