soapui 怎么设置response的content-type

2025-05-21 10:27:02
推荐回答(1个)
回答(1):

Tomcat的安装目录\conf\web.xml 中就定义了大量MIME类型 ,可以参考。 response.setContentType("text/html; charset=utf-8"); html .setContentType("text/plain; charset=utf-8"); 文本 text/javascript json数据 application/xml xml数据