Forum

Costom HTTP header for images?

malcolm
21 April 2013, 18:10
Is it possible to set the Content-Lenght header or any other header for images based on its size?

Hiawatha version: 9.0
Operating System: ubuntu 12.04
Hugo Leisink
21 April 2013, 18:15
You can set headers via the CustomHeader option. The Content-Length header is set by Hiawatha for static files. You can of course add headers, including the Content-Length header via a CGI script.
malcolm
21 April 2013, 18:30
Thank You Hugo. Your right, i see now content-lenght header, I do not know how I missed it, probably because I had images served by varnish from cache.
Thanks for the best webserver ever
This topic has been closed.