Remove incorrect argument
In rare cases this can cause a crash.
This commit is contained in:
parent
5c2075cb6c
commit
9192a7751b
@ -323,7 +323,7 @@ class Application:
|
|||||||
|
|
||||||
# Set content length
|
# Set content length
|
||||||
if answer:
|
if answer:
|
||||||
self.logger.debug("Response content:\n%s" % answer, environ)
|
self.logger.debug("Response content:\n%s" % answer)
|
||||||
answer = answer.encode(self.encoding)
|
answer = answer.encode(self.encoding)
|
||||||
accept_encoding = [
|
accept_encoding = [
|
||||||
encoding.strip() for encoding in
|
encoding.strip() for encoding in
|
||||||
|
Loading…
Reference in New Issue
Block a user