in reply to Mac and PDF

How I can send appropriate header so that it can open PDF with Adobe Acrobat? If user associate the extension .pl with Acrobat, it works fine. I like to get Perl side solution to avoid this route.

Hopefully you can't :-) The idea is that the user determines what application handles what type of content -- in this case PDF. You can have the user assoicate .pdf with acrobat and that should work, too.

That said, you can try setting the Content-Type to application/x-adobe-acrobat. It might be supported on your clients.