set up content-type header for static resources