fix content-type in http api