Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/adblockplus/files/mimeo.py

Issue 29586670: Use correct variable name for request body length (Closed)
Patch Set: Created Oct. 23, 2017, 3:43 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/adblockplus/files/mimeo.py
===================================================================
--- a/modules/adblockplus/files/mimeo.py
+++ b/modules/adblockplus/files/mimeo.py
@@ -41,7 +41,7 @@
status = 200
content = bytes(self.response, 'UTF-8')
request_body_len = int(self.headers.get('content-length', 0))
- request_body = self.rfile.read(body_len).decode('UTF-8')
+ request_body = self.rfile.read(request_body_len).decode('UTF-8')
values = {
'remote_addr': self.address_string(),
'time_local': self.log_date_time_string(),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld