[Seaside] Serving a file

Thierry Thelliez thierry.thelliez.tech at gmail.com
Mon Oct 18 19:00:50 UTC 2010


Sven,

This looks great.


Thanks,
Thierry


> Some time ago I posed the same question on this list and Julian Fritzel helped me to this answer:
>
> servePdf
>        self requestContext respond: [ :response |
>                response
>                        document: self getPdfBytes mimeType: 'application/pdf' fileName: 'seaside-test.pdf';
>                doNotCache ]
>
> HTH,
>


More information about the seaside mailing list