iAtom feeds: remove the wrong content-type for - stagit-gopher - A git gopher frontend. (mirror) Err bitreich.org 70 hgit clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ URL:git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ bitreich.org 70 1Log /scm/stagit-gopher/log.gph bitreich.org 70 1Files /scm/stagit-gopher/files.gph bitreich.org 70 1Refs /scm/stagit-gopher/refs.gph bitreich.org 70 1Tags /scm/stagit-gopher/tag bitreich.org 70 1README /scm/stagit-gopher/file/README.gph bitreich.org 70 1LICENSE /scm/stagit-gopher/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit 0bfdcd098140d52bd553364222df7ecf14621f70 /scm/stagit-gopher/commit/0bfdcd098140d52bd553364222df7ecf14621f70.gph bitreich.org 70 1parent 8fd70151ae9c4015c33c9947b79b2072b021e310 /scm/stagit-gopher/commit/8fd70151ae9c4015c33c9947b79b2072b021e310.gph bitreich.org 70 hAuthor: Hiltjo Posthuma URL:mailto:hiltjo@codemadness.org bitreich.org 70 iDate: Sat, 13 Mar 2021 18:13:18 +0100 Err bitreich.org 70 i Err bitreich.org 70 iAtom feeds: remove the wrong content-type for Err bitreich.org 70 i Err bitreich.org 70 iThe type is incorrectly set to "text/html". The attribute is optional as Err bitreich.org 70 idescribed in the Atom standard. It's not entirely clear what the correct type Err bitreich.org 70 ifor gopher would be either, so remove it. Err bitreich.org 70 i Err bitreich.org 70 iReferences: Err bitreich.org 70 ihttps://tools.ietf.org/html/rfc4287 Err bitreich.org 70 iSection 4.2.7. The "atom:link" Element and section 4.2.7.3. The "type" Attribute. Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M stagit-gopher.c | 2 +- Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 1 insertion(+), 1 deletion(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/stagit-gopher.c b/stagit-gopher.c /scm/stagit-gopher/file/stagit-gopher.c.gph bitreich.org 70 i@@ -914,7 +914,7 @@ printcommitatom(FILE *fp, struct commitinfo *ci, const char *tag) Err bitreich.org 70 i xmlencode(fp, ci->summary, strlen(ci->summary)); Err bitreich.org 70 i fputs("\n", fp); Err bitreich.org 70 i } Err bitreich.org 70 i- fprintf(fp, "\n", Err bitreich.org 70 i+ fprintf(fp, "\n", Err bitreich.org 70 i baseurl, ci->oid); Err bitreich.org 70 i Err bitreich.org 70 i if (ci->author) { Err bitreich.org 70 .