Custom agent and setContentType

"Robson Miranda" <[email protected]> Mon, 30 Dec 2002 22:35:39 -0200
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <001901c2b064$8b705c10$0100000a@casa>
Hi...

I don't know if this is a FAQ, but... I'm trying to send a PDF file to the browser, using a custom service. 
In it's service() method, I set the contentType to "application/x-pdf", but Internet Explorer insists in ask the user if the file must be opened or saved. I think IE is ignoring the Content Type header. 
I'm doing something wrong or there is some known trick to do this work? I can send the service class I did, if it helps.

Thanks

    Robson