We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92e2daf commit 57dee57Copy full SHA for 57dee57
src/browser/browser.zig
@@ -399,7 +399,9 @@ pub const Page = struct {
399
// no content type in HTTP headers.
400
// TODO try to sniff mime type from the body.
401
log.info("no content-type HTTP header", .{});
402
- return;
+
403
+ // Assume it's HTML for now.
404
+ "text/html; charset=utf-8";
405
};
406
407
log.debug("header content-type: {s}", .{ct});
0 commit comments