单项选择题
下列方法设置常见HTTP头,其功能描述错误的是()。
A.setContentType方法用来设置响应头的Content-Type
B.setContentLength方法用来设置响应头的Content-Length
C.setUserAgent方法用来设置响应头的User-Agent
D.addCookie方法用来将cookie插入Set-Cookie头
点击查看答案&解析
相关考题
