Hello all,
i'm following the thread on the mime type, adding my
own problem!

I have created a zclass where the index_html is:
Content-type: application/pdf

<dtml-let username="AUTHENTICATED_USER.getUserName()">
<dtml-in "SQL_get_priv(username=username)">
<dtml-if "Priv > PrivilegioFile">
<dtml-var MyView>
   You are not allowed to see this file!

Where MyView is an external python module:
def Test(self):
        return self.data

This solution is not working, to be honest i've
checked it on NT2000 and it was perfect but on Win98 i
get a small icon saying that i'm missing something to
display the pdf file... If i delete the index_html
everything is ok, but without the initial check.
I don't understand why!
The content type is correct, i've also tried with
but the problem is the same.
Anyone can help me? 


Do You Yahoo!?
Il tuo indirizzo gratis e per sempre @yahoo.it su http://mail.yahoo.it

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to