From: Vasudevan C. <vco...@gm...> - 2014-08-21 12:45:48
|
Hi Ahmed, Thanks for your reply. I had removed the cookie name NID which is used by Recaptcha service. You would not be seeing that cookie in the browser request. There are other cookies for "/" domain is being sent. Whereas HTMLUnit does not have those cookies to start with. Once I get the NID cookie, it is being sent on subsequent requests. I hope my analysis is fine. Regards Vasu On Thu, Aug 21, 2014 at 5:32 PM, Ahmed Ashour <asa...@ya...> wrote: > Hi Vasu, > > > >> As you see the headers are identical. But Recaptcha service throws > error image after around 200 refreshes done from > > Well, they are not, there is a big cookie header in the second request of > real browser, but HtmlUnit sends nothing. > > > Cookie PREF=ID=27454a65a243cd70:U=508d4e3f9fa20406:FF=0:LD=en:TM=1406649235:LM=1407436763:GM=1:S=aCHb3CgmGRRcedMi; > _ga=GA1.1.1138220839.1407426218; OGP=-4061129:; > SID=DQAAAMkAAABEIRL4EB_u_34e9SPchv4-B1gv-ecyCxqE9yuqGcSCBx8fvByoEltivh8scqBkKd-g3_BS4QjJUAb54fr-Xl8SrIiSkJYVlD4dtJn2YB5JIgD7s_hCHT58eMV11jkFKy1NL3R91ibbv0inWCLlle59rF3VKaYOK1BhT_P0RFgbhttdSCq_sPccI_ejQe6Q4tem-CErtVlzQbnSq1idOr-XMoSHn6t0hzsRkrtFs7vzdShkayUlnnee5ruugolGON6gNN0gVQ2xY8XPdwYDBx_T; > HSID=AvFUJATSD2LR-GOTz; APISID=_q3L-5Jckjza4xOL/AM5CzbFXam4moeOPb > > > I guess this is a much higher possibility than the header order. > > Please investigate which request returns the response with that values of > those cookies, and what are the corresponding HtmlUnit request/response. > > Ahmed > > ------------------------------ > > |