set correct content-type in server response HTTP header