Lightpanda: the headless browser designed for AI and automation
'GB' -> 'GiB'
Karl Seguin70278c00913c
diff --git a/src/help.zon b/src/help.zonindex 0ac6e3de6..0f6f26186 100644--- a/src/help.zon+++ b/src/help.zon@@ -314,7 +314,7 @@\\ --http-max-response-size <INT>\\ Limits the acceptable response size for any request\\ e.g. XHR, fetch, script loading.- \\ Defaults to 1GB.+ \\ Defaults to 1 GiB.\\ --http-proxy <URL>\\ HTTP proxy for all HTTP requests.\\ username:password may be included for basic auth.diff --git a/src/network/HttpClient.zig b/src/network/HttpClient.zigindex efc69b615..efe5eae19 100644--- a/src/network/HttpClient.zig+++ b/src/network/HttpClient.zig@@ -215,7 +215,7 @@ pub fn init(self: *Client, allocator: Allocator, network: *Network, cdp: ?*CDP).use_proxy = http_proxy != null,.http_proxy = http_proxy,.tls_verify = network.config.tlsVerifyHost(),- .max_response_size = network.config.httpMaxResponseSize() orelse 1 * 1024 * 1024 * 1024, // 1GB+ .max_response_size = network.config.httpMaxResponseSize() orelse 1 * 1024 * 1024 * 1024, // 1 GiB.serve_mode = network.config.mode == .serve,.obey_robots = network.config.obeyRobots(),