added support for content type header