3 Nov
2002
3 Nov
'02
6:02 p.m.
keo writes:
... is it possible to hardcode content-type to be text/html for all ZPT and DTML by default? Sure, when you change the source... But, I think, it would not be a good idea:
These objects are often called locally (rather than via ZPublisher). What a surprise, when you set your "Content-Type" explicitly to something else and a local call magically changes it to "text/html". A probably better way it to set it in your "standard_html_header" or "main_template". Dieter