allow specification of directly linked blobs mimetypes

Signed-off-by: Michael Krelin <hacker@klever.net>
这个提交包含在:
Michael Krelin
2008-06-24 23:42:32 +02:00
父节点 01d2dce7e7
当前提交 42effc9390
共有 3 个文件被更改,包括 4 次插入1 次删除

查看文件

@@ -65,7 +65,7 @@ void cgit_print_blob(const char *hex, char *path, const char *head)
}
buf[size] = '\0';
ctx.page.mimetype = NULL;
ctx.page.mimetype = ctx.qry.mimetype;
ctx.page.filename = path;
cgit_print_http_headers(&ctx);
write(htmlfd, buf, size);