Serve current directory via HTTP.
Go to file
Yiyang Kang fc229b1f06 fix: OOM on large file
Remove the etag middleware since it requires the entire file to be read
into memory.
2023-03-12 20:45:27 +08:00
.gitignore initial commit 2023-03-04 16:28:13 +08:00
Makefile build: update makefile 2023-03-04 16:54:13 +08:00
README.md fix: OOM on large file 2023-03-12 20:45:27 +08:00
go.mod initial commit 2023-03-04 16:28:13 +08:00
go.sum initial commit 2023-03-04 16:28:13 +08:00
main.go fix: OOM on large file 2023-03-12 20:45:27 +08:00

README.md

httpserve

A very simple HTTP server that might come in handy from time to time.

The only thing it does is serve static files in the current directory.

Usage

httpserve [port_number]

The default port number is 8080.

Warning: Unencrypted

Do not share sensitive content over untrusted networks.