add http headers for content-type and caching