aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/pathod.py
diff options
context:
space:
mode:
Diffstat (limited to 'libpathod/pathod.py')
-rw-r--r--libpathod/pathod.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpathod/pathod.py b/libpathod/pathod.py
index 5b8627a3..39de1b7b 100644
--- a/libpathod/pathod.py
+++ b/libpathod/pathod.py
@@ -123,8 +123,8 @@ class PathodHandler(tcp.BaseHandler):
)
try:
- content = http.read_http_body_request(
- self.rfile, self.wfile, headers, httpversion, None
+ content = http.read_http_body(
+ self.rfile, headers, None, True
)
except http.HttpError, s:
s = str(s)