[Zope-dev] Re: inconsistent mimetype assignment for uploaded files

Jan-Wijbrand Kolman jw at infrae.com
Thu Sep 30 10:26:01 EDT 2004


Tres Seaver wrote:

> -1 for using the "guessed" value over the one from the headers;  +1 for 
> using the argument over the guessed value (so that the application can 
> "fix" the problem).  I agree that having different clients supply 
> different types is painful, but I don't think that "fixing" it at the 
> low level is reasonable (mechanism vs. policy).

Can you elaborate a bit more on the "mechanism vs. policy" remark? I'm
not sure I understand your line or reasoning and I'm curious for it :)


regards,
jw

-- 
Jan-Wijbrand Kolman
jw at infrae.com



More information about the Zope-Dev mailing list