python https server
生成证书:
1 | openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes |
开启https server
1 | import BaseHTTPServer, SimpleHTTPServer |
支持POST方法
1 | import BaseHTTPServer |
- Post title:python https server
- Post author:ssooking
- Create time:2020-05-18 11:18:00
- Post link:https://ssooking.github.io/2020/05/python-https-server/
- Copyright Notice:All articles in this blog are licensed under BY-NC-SA unless stating additionally.