Re: file targets
Daniel Bretoi <[email protected]>
| Newsgroups | gmane.comp.apache.mod-ruby |
|---|---|
| Message-ID | <[email protected]> |
> I suppose he means "producing" on the fly some content, and make the > browser download it with a controlled filename. > > If it's so, you must use the following headers: > > Content-Type: application/pdf > Content-Disposition: attachment; filename=myfilename.ext I've been trying to figure thi sout, but how do I actually send the header? db