我用httpclient发送post请求到一个指定的网站时,通过截包发现,header中没有cookie了(前面的所有get请示中都有相同的cookie)。
于是我通过浏览器正常发送post,通过截包确发现header中有cookie,这是为什么啊??我应该怎么办??如何来设置cookie??