[Grok-dev] Re: grok.PageTemplate and content types

Martijn Faassen faassen at startifact.com
Fri Jan 12 10:28:21 EST 2007


Jan-Wijbrand Kolman wrote:
>> Sorry, I must speak up here.  I adamantly recommend against using
>> content_type.  This gets *sooooo* confusing when dealing with systems
>> that are built to work with or supporting CMSs.  Use mime type... much
>> more obvious and clean imho.
> 
> I tried not to start *that* discussion by just proposing mime_type and
> hoping noone noticed *wink*. But I have to agree with Rocky here.
> 
> (Actually, I could even imagine a seperate encoding argument, to
> indicate the output encoding. Together with mime_type it would then
> form the "Content-Type" header for HTTP for example. I'm not sure
> however if this would really be useful, as UTF-8 covers most of the
> cases anyway.)

+1 from me for 'mime_type' too.

Regards,

Martijn




More information about the Grok-dev mailing list