mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-06-11 01:25:53 -04:00
etag and last_modified null by default
This commit is contained in:
4
src/network/cache/Cache.zig
vendored
4
src/network/cache/Cache.zig
vendored
@@ -134,8 +134,8 @@ pub const CachedMetadata = struct {
|
||||
vary_headers: []const Http.Header,
|
||||
|
||||
// Validators for conditional requests.
|
||||
etag: ?[]const u8,
|
||||
last_modified: ?[]const u8,
|
||||
etag: ?[]const u8 = null,
|
||||
last_modified: ?[]const u8 = null,
|
||||
|
||||
pub fn format(self: CachedMetadata, writer: *std.Io.Writer) !void {
|
||||
try writer.print("url={s} | status={d} | content_type={s} | max_age={d} | etag={s} | last-modified={s} | vary=[", .{
|
||||
|
||||
Reference in New Issue
Block a user