Drop-in replacement for Python SimpleHTTPServer.
simple-httpd is aimed to be a simple replacement for using python -m SimpleHTTPServer
to serve local files. Like SimpleHTTPServer, simple-httpd supports HTTP GET and HEAD requests and adheres to the HTTP/1.1 RFC 2616 guidelines.
The HTML output is a mix of the Python module layout and of an Apache directory listing layout.
Installation
go get -u -v github.com/briandowns/simple-httpd
Examples
HTTP/1.1 on default port (8000)
simple-httpd
HTTP/1.1 on the given port
simple-httpd -p 8181
from https://github.com/briandowns/simple-httpd
No comments:
Post a Comment