From: Vasudevan C. <vco...@gm...> - 2017-02-01 13:21:57
|
Hi, I am creating a set of cookies using the constructor of Cookie Object. Then I am adding those cookies into the cookieManager of a Webclient before sending a request to the site. When I looked into Charles WebProxy tool, I did not see those cookies set in the HTTP Cookie header. Whereas the same application was working fine with earlier version of HTMLUnit say 2.15. Am I missing something in HTMLUnit 2.23? Help needed urgently. Below is the clojure code snippet for reference: Creating a cookie val1= (new Cookie ".jobdiva.com" "COMPANYLOGOLOCATION" clogo-data "/" -1 false) Adding cookie to Cookie Manager (.addCookie (.getCookieManager *wc*) val1) Please note *wc* is the WebClient Object. Appreciate your help. Regards Vasu |