Riushin
08/05/2019, 2:42 PMPablichjenkov
08/05/2019, 6:43 PMPablichjenkov
08/05/2019, 6:45 PMRiushin
08/06/2019, 8:46 AMPablichjenkov
08/06/2019, 2:59 PMuserAgent
. You have to send the headers manually when you call the load() method.
The only type of headers the system handles for you is the Cookies. If you use the CookieManager you can inject your Cookies there and it will take care of the rest. The benefits is that the same CookieManager is a Singleton used by Chrome App too. So you can re-use Cookies-Login Tokens between your app and Chrome seamlessly.
Cookies are saved by url hostname. If the redirect url has a different hostname, then the original request Cookies are not sent.
With the rest of the header types am not sure whats the behavior but is probably the same as the cookies. Maybe for security reasons they do not transfer the original Url headers to the redirected Url.
In such a case you would have to do it on your own.