[Zope] content-type weirdness
keo
keo@goa.hu
Sat, 02 Nov 2002 14:08:21 +0100 (CET)
On Sat, 2 Nov 2002, Ken wrote:
> I wanted this to be automatic, and the only hint about the content-=
type would be from the string '.pdf' in the URL...
> And where did 'contype' come from??
this is a good question, i experience the same thing. not with redire=
cts,
zope (or apache?) seems to change the content-type fo the document
sometimes...
yesterday i had a dtml method working fine, i pasted in another text,=
and
the content-type became application/octet-stream ...
after several hours of bugging, i found a character ( =B4 instead of =
' )
that made all this, i removed it, then it worked fine ....
whats this?
what is playing with the content-type header and why?
i think it shouldnt do this unless i tell it to do ...
k
--
don't believe everything you think