use correct content type http header.