Just read the content

This commit is contained in:
Nico Schottelius 2016-09-16 18:10:33 +02:00
parent d2f0789de3
commit 83dff59487
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class testHTTPServer_RequestHandler(BaseHTTPRequestHandler):
def do_POST(self):
length = int(self.headers['Content-Length'])
post_data = urllib.parse.parse_qs(self.rfile.read(length).decode('utf-8'))
post_data = self.rfile.read(length).decode('utf-8')
# Print on stdout
print(post_data)