srctree

Gregory Mullen parent 6130f30f 19548e3f
verse uses namespaces for headers now

inlinesplit
src/endpoints/repos/commits.zig added: 2, removed: 2, total 0
@@ -176,7 +176,7 @@ pub fn commitPatch(ctx: *Verse.Frame, sha: []const u8, repo: Git.Repo) Error!voi
// diff = diff[i..];
//}
ctx.status = .ok;
ctx.headersAdd("Content-Type", "text/x-patch") catch unreachable; // Firefox is trash
ctx.headers.addCustom("Content-Type", "text/x-patch") catch unreachable; // Firefox is trash
ctx.sendHeaders() catch return Error.Unknown;
ctx.sendRawSlice(diff) catch return Error.Unknown;
}