andreasgal / darkhttpd

darkhttpd for B2G
37 stars 9 forks source link

Add option to add header. #1

Open kevincox opened 10 years ago

kevincox commented 10 years ago

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.

AlbertoGP commented 1 year ago

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.