From: Vasudevan C. <vco...@gm...> - 2021-08-18 12:49:33
|
All, I am using HTMLUnit and when accessing a site, the server responded with 303 error and had location value (*http://hire.timesjobs.com/employer/quickSearch.html?f=f&sf=q <http://hire.timesjobs.com/employer/quickSearch.html?f=f&sf=q>*) for redirection. HTMLUnit redirected to the location URL which again got relocated to the login page whereas actual browser redirected to the* (https://hire.timesjobs.com/employer/quickSearch.html?f=f&sf=q <https://hire.timesjobs.com/employer/quickSearch.html?f=f&sf=q>).* *What is the reason for this different behaviour? Any pointer to solve* *this issue is highly appreciated.* * Coped Below the RESPONSE Header for your reference* :status 303 server nginx date Wed, 18 Aug 2021 11:56:36 GMT content-type text/html; charset=UTF-8 content-length 0 pragma No-cache expires Thu, 01 Jan 1970 00:00:00 GMT cache-control no-cache cache-control no-store location http://hire.timesjobs.com/employer/quickSearch.html?f=f&sf=q content-language en-GB x-cool 29.37 x-xss-protection 1; mode=block x-content-type-options nosniff x-permitted-cross-domain-policies master-only set-cookie mblid="3O7V9Pa8f9auKEBxDEtLXA=="; Version=1; Domain=. timesjobs.com; Path=/; Secure; SameSite=None x-frame-options sameorigin strict-transport-security max-age=25920000; includeSubdomains x-xss-protection 1; mode=block x-content-type-options nosniff *Regards* * Vasu* |