Skip to content
This repository has been archived by the owner on Apr 9, 2019. It is now read-only.

Commit

Permalink
Merge pull request #117 from wellingfine/patch-1
Browse files Browse the repository at this point in the history
Update proxylib.py
  • Loading branch information
Phus Lu committed Mar 1, 2015
2 parents 437a921 + 33d81e8 commit 7c79d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion local/proxylib.py
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ def handle_method(self, handler, kwargs):
handler.send_response(response.status)
for key, value in response.getheaders():
if (key.title(), value.lower()) == ('Connection', 'close'):
handler.send('Transfer-Encoding', 'chunked')
handler.send_header('Transfer-Encoding', 'chunked')
need_chunked = True
else:
handler.send_header(key, value)
Expand Down

0 comments on commit 7c79d89

Please sign in to comment.