💾 Archived View for bbs.geminispace.org › u › lufte › 15704 captured on 2024-05-10 at 12:55:13. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-03-21)
-=-=-=-=-=-=-
Re: "Valid Gemini response with invalid media type?"
You could read the new (in progress) spec to see if you find it clearer. The way I see it, gemini does not allow white space around and "text/plain\n" it's not a valid MIME type either.
— geminiprotocol.net/docs/protocol-specification.gmi
Mar 21 · 7 weeks ago
Valid Gemini response with invalid media type? — Valid Gemini response with invalid media type? This is an interesting URL: [gemini link] It returns a status code 20, and a META of "text/plain\n" with a literal new line. A \r\n follows this, so per the Gemini spec, the META field contains a trailing \n character. The Gemini spec says that "For [SUCCESS status] responses, <META> is a MIME media type as defined in RFC 2046." RFC-2046 defines the media type as part of the grammar for a `...