unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
From: "Thomas Weißschuh" <thomas@t-8ch.de>
To: Eric Wong <e@80x24.org>
Cc: meta@public-inbox.org
Subject: Re: [PATCH 2/2] www: $MSGID/raw: set charset in HTTP response
Date: Mon, 25 Oct 2021 08:32:52 +0200	[thread overview]
Message-ID: <58d9d4aa-7043-4854-89f9-37fb45def678@t-8ch.de> (raw)
In-Reply-To: <20211025024553.14875-3-e@80x24.org>

On 2021-10-25 02:45+0000, Eric Wong wrote:
> By using the charset specified in the message, web browsers are
> more likely to display the raw text properly for human readers.
> 
> Inspired by a patch by Thomas Weißschuh:
>   https://public-inbox.org/meta/20211024214337.161779-3-thomas@t-8ch.de/
> 
> Cc: Thomas Weißschuh <thomas@t-8ch.de>

Tested-by: Thomas Weißschuh <thomas@t-8ch.de>

> ---
>  lib/PublicInbox/GzipFilter.pm | 19 +++++++++++++------
>  lib/PublicInbox/Mbox.pm       | 24 +++++++++++++-----------
>  t/plack.t                     | 26 +++++++++++++++++++++++---
>  t/psgi_v2.t                   |  5 ++++-
>  4 files changed, 53 insertions(+), 21 deletions(-)

Thanks!

      reply	other threads:[~2021-10-25  6:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-25  2:45 [PATCH 0/2] www: respect charset in $MSGID/raw display Eric Wong
2021-10-25  2:45 ` [PATCH 1/2] gzip_filter: delay async wcb call Eric Wong
2021-10-25  2:45 ` [PATCH 2/2] www: $MSGID/raw: set charset in HTTP response Eric Wong
2021-10-25  6:32   ` Thomas Weißschuh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=58d9d4aa-7043-4854-89f9-37fb45def678@t-8ch.de \
    --to=thomas@t-8ch.de \
    --cc=e@80x24.org \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).