[Zope] content-type weirdness (was: Redirect weirdness)

Ken firerooster@netscape.net
Sun, 3 Nov 2002 15:56:30 +0100 (CET)


Hi again,

On Sat, 2 Nov 2002, I wrote:

>Can I set a content-type header along with the redirect? >I've searched...
>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

Thanks!  I'm still hoping for some enlightenment..

Again: External links on my page go to a script which builds the URL and does a RESPONSE.redirect. When the object of the redirect is a PDF, the script does not complete. It looks as if I need to set a content-type header at the same time, but how? 

And, out of curiosity, how does 'contype' get written to Z2.log as useragent for the failed calls?

Thanks,

Ken