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

View Raw

More Information

⬅️ Previous capture (2023-11-04)

🚧 View Differences

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

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

1. 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>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: Digitale Signatur von OpenPGP
URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20200528/e58a
aeed/attachment.sig>

Link to individual message.

2. 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>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: Digitale Signatur von OpenPGP
URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20200528/36bd
644a/attachment.sig>

Link to individual message.

3. 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