【发布时间】:2014-07-29 13:07:44
【问题描述】:
我想这样做:
Content result = Request
.Get("url.com")
.addHeader("CookieName", "CookieValue") // is this the proper way ?
.execute()
.returnContent();
org.apache.http.client.fluent.Request。这是Apache HTTP Components 的一部分。
我似乎在文档中找不到它,对此感到抱歉,感谢您的帮助。
【问题讨论】:
标签: java http cookies apache-httpcomponents