Headers in static middleware

How can I set headers in Static middleware response? I need to define utf-8 as charset.

As far as a direct override, that doesn't look like an option. Connect's documentation shows that it determines the charset based on the mime-type via the mime module. The mime module appears to let you customize it's definitions, so I'd check that out first.