summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Loader/ResourceLoader.h
AgeCommit message (Collapse)Author
2021-07-01LibWeb: Show "x86_64" in the user agent string on x86_64 :^)Andreas Kling
2021-04-25Services: Rename ProtocolServer to RequestServerDexesTTP
The current ProtocolServer was really only used for requests, and with the recent introduction of the WebSocket service, long-lasting connections with another server are not part of it. To better reflect this, this commit renames it to RequestServer. This commit also changes the existing 'protocol' portal to 'request', the existing 'protocol' user and group to 'request', and most mentions of the 'download' aspect of the request to 'request' when relevant, to make everything consistent across the system. Note that LibProtocol still exists as-is, but the more generic Client class and the more specific Download class have both been renamed to a more accurate RequestClient and Request to match the new names. This commit only change names, not behaviors.
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-15LibWeb: Set Cookie header on <script> resource requestsTimothy Flynn
This required changing the load_sync API to take a LoadRequest instead of just a URL. Since HTMLScriptElement was the only (non-test) user of this API, it didn't seem useful to instead add an overload of load_sync for this.
2021-04-14Browser+LibWeb: Add support for spoofing the browser user agentIdan Horowitz
This is helpful when testing certain sites like twitter.com which display differently based on the user agent.
2021-04-03LibWeb: Pass optional status code to ResourceLoader callbacksLinus Groh
This is needed for XMLHttpRequest, and will certainly be useful for other things, too.
2021-03-30Browser+LibWeb+WebContent: Add action to clear resource cacheTimothy Flynn
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling