You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by André Malo <nd...@perlig.de> on 2002/08/22 19:08:00 UTC

[PATCH] mod_negotiation.c / type-map body

Hi,

The proposed patch modifies the response headers (content-type and
content-language) when the "Body:"-Feature in type-map files is used.

The following values are set to the definitions made in the file:

Content-type: mime/type; charset=charset
Content-language: la, ng, ua, ge

Currently the charset parameter of the content-type is set to default
(or none); language and content-type itself are set by mod_mime (I
believe, but I'm not really sure ;-)

I'm a bit unsure about Content-Encoding. Should this be set, too? IMHO
it's not very useful to combine content-encoding and the Body-Feature.

nd

P.S.: it's my first patch to the apache code, if there's something bad,
please tell me ;-)
-- 
If God intended people to be naked, they would be born that way.
  -- Oscar Wilde