guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Haunt serves some resources mistakenly as text/plain


From: Ludovic Courtès
Subject: Re: Haunt serves some resources mistakenly as text/plain
Date: Thu, 21 Dec 2017 14:25:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hi there!

sirgazil <address@hidden> skribis:

> When you create resources in Haunt whose URL paths contain dots beside
> the dot before a file extension, it seems Haunt's web server will
> always serve them as "text/plain". So, in the case of HTML pages, for
> example, when you visit them in the Web browser, the browser won't
> render the HTML, but display the HTML markup instead (within a PRE
> element in a browser-generated HTML page).

I noticed that too.

The first patch attached fixes it (previously (file-extension
"hello.es.html") would return "es.html", which has no associated MIME
type).  The second one is nice to have.

Dave, could you consider applying them?  :-)

Cheers,
Ludo’.

Attachment: 0001-serve-Fix-file-extension-so-that-the-right-MIME-type.patch
Description: Text Data

Attachment: 0002-guix-Switch-to-Guile-2.2.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]