📜  您如何阅读 API 响应中的 HEADERS? - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:32.507000             🧑  作者: Mango

代码示例1
response.getHeader("Headername");
For popular headers like, ContentType, there is built in-ready
methods.
response.contentType();
response.getContentType();