1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 09:47:35 +00:00
serenity/Userland/Libraries/LibWeb/Fetch/Fetching
Luke Wilde bf2895365b LibWeb/Fetch: Don't add cookies when creating ResourceLoader request
Using LoadRequest::create_for_url_on_page will unconditionally add
cookies as long as there's a page available. However, it is up to
http_network_or_cache_fetch to determine if cookies should be added to
the request.

This was noticed when implementing CORS-preflight requests, where we
sent cookies in OPTIONS requests.
2023-02-10 22:18:19 +00:00
..
Checks.cpp LibWeb: Implement 'CORS check' / 'TAO check' AOs 2022-10-30 20:10:29 +00:00
Checks.h LibWeb: Implement 'CORS check' / 'TAO check' AOs 2022-10-30 20:10:29 +00:00
Fetching.cpp LibWeb/Fetch: Don't add cookies when creating ResourceLoader request 2023-02-10 22:18:19 +00:00
Fetching.h LibWeb: Add missing GCPtr.h includes to Fetch headers 2023-02-10 13:53:45 +00:00
PendingResponse.cpp LibJS: Convert Heap::allocate{,_without_realm}() to NonnullGCPtr 2022-12-15 06:56:37 -05:00
PendingResponse.h LibWeb: Add missing GCPtr.h includes to Fetch headers 2023-02-10 13:53:45 +00:00
RefCountedFlag.cpp LibWeb: Implement most of the 'Fetching' AOs 2022-10-30 20:10:29 +00:00
RefCountedFlag.h LibWeb: Implement most of the 'Fetching' AOs 2022-10-30 20:10:29 +00:00