httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: don't believe in mod_magic
Date Mon, 08 Dec 1997 20:02:12 GMT
Yeah, but let's say someone sets up a site with DefaultType
application/binary, suddenly mod_mime_magic is a lot less useful because
it's returning application/binary for lots of things that are certainly
text/something.

Dean

On Mon, 8 Dec 1997, Brian Behlendorf wrote:

> 
> I don't entirely agree; by doing so you're semantically saying any message
> matching those rules should be text/plain, which I don't believe is true.
> Let's say someone setting up a Russian web site sets DefaultType to be
> "text/plain;charset=KOI8".  Then any message matching those patterns would
> be changed to simply "text/plain".  Hmm... 
> 
> 	Brian
> 
> At 11:24 AM 12/8/97 -0800, Dean Gaudet wrote:
> >Then I think they should be changed to text/plain... 
> >
> >Dean
> >
> >On Mon, 8 Dec 1997, Brian Behlendorf wrote:
> >
> >> 
> >> Commenting them out leaves it up to the DefaultType (in our conf files
> >> text/plain), unless they match some other pattern from the magic file.
> >> 
> >> 	Brian
> >> 
> >> At 10:53 AM 12/8/97 -0800, Dean Gaudet wrote:
> >> >Why not change them to text/plain ?  Or is that the same thing commenting
> >> >them out would accomplish?
> >> >
> >> >Dean
> >> >
> >> >On Mon, 8 Dec 1997, Brian Behlendorf wrote:
> >> >
> >> >> 
> >> >> 
> >> >> There's a part in mod_mime_magic which goes:
> >> >> 
> >> >>  # There are tests to ascmagic.c to cope with mail and news.
> >> >>  0      string          Relay-Version:  message/rfc822  7bit
> >> >>  0      string          #!\ rnews       message/rfc822  7bit
> >> >>  0      string          N#!\ rnews      message/rfc822  7bit
> >> >>  0      string          Forward\ to     message/rfc822  7bit
> >> >>  0      string          Pipe\ to        message/rfc822  7bit
> >> >>  0      string          Return-Path:    message/rfc822  7bit
> >> >>  0      string          Path:           message/news    8bit
> >> >>  0      string          Xref:           message/news    8bit
> >> >>  0      string          From:           message/rfc822  7bit
> >> >>  0      string          Article         message/news    8bit
> >> >> 
> >> >> Unfortunately there are user-agents out there which don't grok those
two
> >> >> MIME formats, and interpret it as an error (IE 4.0 for example).  Any
> >> >> problems with commenting them out?
> >> >> 
> >> >> 	Brian
> 
> --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
> "it's a big world, with lots of records to play." - sig   brian@organic.com
> 


Mime
View raw message