structstd.http.Client.Request.Headers[src]

Fields

host: Value = .default
authorization: Value = .default
user_agent: Value = .default
connection: Value = .default
accept_encoding: Value = .default
content_type: Value = .default

Source Code

Source code
pub const Headers = struct {
    host: Value = .default,
    authorization: Value = .default,
    user_agent: Value = .default,
    connection: Value = .default,
    accept_encoding: Value = .default,
    content_type: Value = .default,

    pub const Value = union(enum) {
        default,
        omit,
        override: []const u8,
    };
}