Handle content-type for HTTP messages