From: Ronald B. <rb...@rb...> - 2016-09-21 19:26:40
|
If you find and difference between HtmlUnit and a real browser, you found a bug. Please open one... :-) And please include info about the domain the redirect points to. RBRi On Wed, 21 Sep 2016 22:10:56 +0530 Vasudevan Comandur wrote: > >All, > > Today, I encountered a problem with my application which was working >fine till > yesterday using HTMLUnit. > > The site to which I am connecting was sending two cookies with the same > name in the set-cookie field as response with location redirection. > > Example : > > Name=CSID; Value=xxx; domain=foo.example.com; path=/ > Name=CSID; Value=yyy; domain=.foo.example.com; path=/ > > HTMLUnit was sending both the cookie values in the re-direction >request where > as real browser was sending only one value which had the domain = > .foo.example.com due to which HTMLUnit application was failing. > > Why is the difference in the behaviour? > >Regards > Vasu > > > >----< Inline text [text-plain-04.txt] >------------------ > >------------------------------------------------------------------------------ > > > >----< Inline text [text-plain-05.txt] >------------------ > >_______________________________________________ >Htmlunit-user mailing list >Htm...@li... >https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > |