mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-02-04 06:23:45 +00:00
zig fmt
This commit is contained in:
@@ -319,7 +319,11 @@ fn httpHeaderDoneCallback(transfer: *Http.Transfer) !bool {
|
|||||||
|
|
||||||
if (header.contentType()) |ct| {
|
if (header.contentType()) |ct| {
|
||||||
self._response_mime = Mime.parse(ct) catch |e| {
|
self._response_mime = Mime.parse(ct) catch |e| {
|
||||||
log.info(.http, "invalid content type", .{.content_Type = ct, .err = e, .url = self._url,});
|
log.info(.http, "invalid content type", .{
|
||||||
|
.content_Type = ct,
|
||||||
|
.err = e,
|
||||||
|
.url = self._url,
|
||||||
|
});
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user