Minor update

This commit is contained in:
Miroslav Stampar
2019-11-13 11:17:32 +01:00
parent e6edecb396
commit 60c7fb3e03
4 changed files with 6 additions and 1 deletions

View File

@@ -161,6 +161,9 @@ class ReqHandler(BaseHTTPRequestHandler):
def do_GET(self):
self.do_REQUEST()
def do_PUT(self):
self.do_REQUEST()
def do_POST(self):
length = int(self.headers.get("Content-length", 0))
if length: