How to add response headers based on content-type; getting content-type before the response is committed
How to add response headers based on Content-type; getting Content-type before the response is committed