Simple HTTP Server
適合臨時開發調試web 使用, 直接當前項目下使用python命令快速起一個http server
python2
python -m SimpleHTTPServer [port]
python3
python -m http.server [port]
(因為我沒有裝 python2, 所以直接用命令python )
注意
警告 : 不推薦在生產環境中使用 http.server 。它只實現了基本的安全檢查功能。