add content length and mime type to static servlet response headers