Exception thrown for failed requests (server errors).
Perform a raw request and return information about the resulting cached response.
Response metadata.
Directory for caching responses
Directory for reading cookies. May be moved to a lambda in the future. Format is one file per host, with hostname ~ cookieExt being the file name. Contents is one line for the entire HTTP "Cookie" header.
Ignore cache entries older than the given time
Curl HTTP object Can be customized after construction.
Download file located at the indicated URL, unless the target file already exists.
Get resource located at the indicated URL.
Post data to the specified URL.
Check if the resource exists and is downloadable. E.g. the HTTP status code for a HEAD request should be 200.
Get the destination of an HTTP redirect.
Perform a HTTP request.
libcurl-based implementation of Network which caches responses. Allows quickly re-running some deterministic process without redownloading all URLs.