http
HTTP
여러 커넥션을 처리할 수 있는 간단한 웹서버
import socketserver import http.server class ThreadingHTTPServer(socketserver.ThreadingMixIn, http.server.HTTPServer): pass if __name__ == "__main__": port = 8000 import http.server ThreadingHTTPServer(("", port), http.server.SimpleHTTPRequestHandler).serve_forever()
http.txt · 마지막으로 수정됨: 2024/03/23 02:38 저자 127.0.0.1