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