单项选择题

使用HttpURLConnection的get方式提交数据时,需要设置以下哪个头信息?()

A.contentLength
B.contentType
C.type
D.不用设置