add custom python3 'serve' script based on http.server
authorAmin Bandali <bandali@gnu.org>
Fri, 5 Nov 2021 05:14:44 +0000 (01:14 -0400)
committerAmin Bandali <bandali@gnu.org>
Fri, 5 Nov 2021 05:14:44 +0000 (01:14 -0400)
commit1742e66861e7a625034b4d2321604a8120a9f333
tree55febffffce827f74ea51c2b7ec44ac21c21d839
parentf8427a27606990d96e95fe65007c4b2f79118a17
add custom python3 'serve' script based on http.server

notably, has saner default mime type and encoding for txt files and
files without extension.  further, for a requested file X, if it does
not exist, it will try X.html and X.txt as well (similar to nginx's
try_files).
serve [new file with mode: 0755]