darkhttpd
darkhttpd copied to clipboard
Add option to add header.
trafficstars
It would be really nice if a header could be added to every response. Because of its simplicity darkhttpd makes a nice dev server and for example disabling caching via -H'Cache-Control: no-cache' or something similar would be very convenient.
This was done in the original repository: https://github.com/emikulic/darkhttpd/pull/28
I realize this fork hasn’t been touched in 12 years, and I’m replying to a post from 9 years ago, but somehow the search engine brought me to this page.