💾 Archived View for gemi.dev › gemini-mailing-list › 000156.gmi captured on 2023-11-04 at 12:29:20. Gemini links have been rewritten to link to archived content

View Raw

More Information

➡️ Next capture (2023-12-28)

-=-=-=-=-=-=-

gemserv: Non-gemini files have mime type text/gemini

tastytea <tastytea+gemini (a) tastytea.de>

For example, <gemini://tastytea.de/dotfiles/.emacs.d/init.el> returns
?20 text/gemini??. Files without a file extension are also returned as
text/gemini.

I think text/plain is better suited as the default type for unknown
files.

? echo -en 'gemini://tastytea.de/dotfiles/.emacs.d/init.el\r\n' \
      | openssl s_client -connect tastytea.de:1965 -quiet | head -n 1
-- 
Get my PGP key with `gpg --locate-keys tastytea at tastytea.de` or at
<https://tastytea.de/tastytea.asc>.

Link to individual message.

tastytea <tastytea+gemini (a) tastytea.de>

On 2020-05-28 15:38+0200
tastytea <tastytea+gemini at tastytea.de> wrote:
>[?]

Oops, sorry. I don't know how that happened. ?

-- 
Get my PGP key with `gpg --locate-keys tastytea at tastytea.de` or at
<https://tastytea.de/tastytea.asc>.

Link to individual message.

int 80h <int (a) 80h.dev>

On Thu May 28, 2020 at 11:38 AM EDT, tastytea wrote:
> For example, <gemini://tastytea.de/dotfiles/.emacs.d/init.el> returns
> ?20 text/gemini??. Files without a file extension are also returned
> as
> text/gemini.
>
> I think text/plain is better suited as the default type for unknown
> files.

That's probably a good idea. The only difference is formatting so that
that would make more sense. Thanks.

int 80h

Link to individual message.

---

Previous Thread: [ANN] GemiNaut - a user friendly Gemini browser for Windows in C#

Next Thread: The lang parameter to text/gemini