Indent
This commit is contained in:
parent
8add8af36c
commit
c6baefdb47
1 changed files with 5 additions and 5 deletions
10
web-to-db.py
10
web-to-db.py
|
@ -5,7 +5,7 @@ from http.server import BaseHTTPRequestHandler, HTTPServer
|
|||
|
||||
# HTTPRequestHandler class
|
||||
class testHTTPServer_RequestHandler(BaseHTTPRequestHandler):
|
||||
# GET
|
||||
# GET
|
||||
def do_GET(self):
|
||||
# Send response status code
|
||||
self.send_response(200)
|
||||
|
@ -28,7 +28,7 @@ class testHTTPServer_RequestHandler(BaseHTTPRequestHandler):
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
server_address = ('0.0.0.0', 8000)
|
||||
httpd = HTTPServer(server_address, testHTTPServer_RequestHandler)
|
||||
print('running server...')
|
||||
httpd.serve_forever()
|
||||
server_address = ('0.0.0.0', 8000)
|
||||
httpd = HTTPServer(server_address, testHTTPServer_RequestHandler)
|
||||
print('running server...')
|
||||
httpd.serve_forever()
|
||||
|
|
Loading…
Reference in a new issue