Added support for custom response Content-Type header.