We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f95f0da + fb89f5b commit ff34da9Copy full SHA for ff34da9
src/lightning/lndhttp.zig
@@ -149,7 +149,7 @@ pub const Client = struct {
149
const opt = std.http.Client.RequestOptions{
150
.redirect_behavior = .not_allowed, // no redirects in REST API
151
.headers = reqinfo.stdheaders,
152
- .privileged_headers = reqinfo.xheaders,
+ .extra_headers = reqinfo.xheaders,
153
.server_header_buffer = &headersbuf,
154
};
155
var req = try self.httpClient.open(reqinfo.httpmethod, reqinfo.url, opt);
0 commit comments