>
> Cookie headers are added later. I haven’t used WKWebView, but when using
> an NSURLSession the cookies aren’t part of the NSURLRequest, but get added
> when the request is sent.
>

Hm - but shouldn't they be available in the response at least?

I also tried to find it in the cookie storage
>    NSHTTPCookieStorage.sharedHTTPCookieStorage().cookies!
>
> WKWebView runs in a separate process, which has its own cookie storage.
>

And there is no way to access that storage yet?



> What’s the higher-level goal you’re trying to achieve?
>

I want read and ideally restore a cookie that holds a website
authentication.

cheers,
Torsten
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to