commit cceed45f11078ff79c8c90ec830a2c3e4fe2a838 from: Omar Polo date: Fri Jul 30 13:24:13 2021 UTC handle text/x-diff and application/x-patch too as diffs commit - 7a973fbf28da7afaaeb7861774e27555a76c6f7c commit + cceed45f11078ff79c8c90ec830a2c3e4fe2a838 blob - 1b03366158021c761e241fa787e615c79353aecc blob + 5a008b78519bd2894de7e80c1393363cc96973c5 --- mime.c +++ mime.c @@ -31,6 +31,8 @@ static struct parser_table { } ptable[] = { { "text/gemini", gemtext_initparser }, { "text/x-patch", textpatch_initparser }, + { "text/x-diff", textpatch_initparser } + { "application/x-patch",textpatch_initparser } { "text/*", textplain_initparser }, { NULL, NULL} };