mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-11 13:39:55 +02:00
Applications/Internet/Cyberia: Probably a good idea to actually handle Set-Cookie 🤦
This commit is contained in:
@@ -707,6 +707,10 @@ U0 @cyberia_navigate(Bool refresh = FALSE)
|
|||||||
Sleep(1);
|
Sleep(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (resp->headers) {
|
||||||
|
@cyberia_set_cookies(browser, resp);
|
||||||
|
}
|
||||||
|
|
||||||
if (resp->status.code == 301 || resp->status.code == 302) {
|
if (resp->status.code == 301 || resp->status.code == 302) {
|
||||||
U8* unresolved_location = resp->headers->@("Location");
|
U8* unresolved_location = resp->headers->@("Location");
|
||||||
if (!unresolved_location)
|
if (!unresolved_location)
|
||||||
|
|||||||
Reference in New Issue
Block a user