Re: [squid-users] MIME Setup

From: Nikolai Weibull <squid-users-list@dont-contact.us>
Date: Wed, 27 Oct 2004 13:28:11 +0200

* Henrik Nordstrom <hno@squid-cache.org> [Oct 26, 2004 22:10]:
> >Is there a way to tell squid to override Content-Type's sent from http
> >servers so that the files they serve will actually get the right
> >mime-type even though the server serves them wrongly, e.g., text/plain
> >instead of image/x-icon for .ico$ files?
>
> Not without implementing this feature in the C code.
>
> The header_replace directive is a bit simpleminded today and could do a
> lot better.

It seems the real problem is when

Content-Type: text/plain; charset=UTF-8

it works fine for

Content-Type: text/plain; charset=iso-8859-1

which is a bit weird, since the actual content shouldn't vary with
charset?

Anyway, has anyone else stumbled upon this problem, or am I the only
one?
        nikolai

--
::: name: Nikolai Weibull    :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA    :: loc atm: Gothenburg, Sweden    :::
::: page: www.pcppopper.org  :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
Received on Wed Oct 27 2004 - 05:28:13 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST