Add header "CONTENT-TYPE" based on format type.