gruntjs/grunt-contrib-connect

Changing content type of files

Stefany93 opened this issue · 2 comments

Can I make the server either serve some files as text/html or force to change their content type?

Backstory, I am uploading files to S3 but in order to remove the .html extension I need to save them as without an extension and then add content type text/html while uploading. I'd like to be able to test them locally in the grunt-contrib-connect server with forcing their content type. Many thanks!

Anyone ? :/

Duplicate of #243