ok, I tried it and it gives me the same as

<map:read src="" mime-type="application/octet-stream"

it opens .html, .txt, .jpg, .gif  files in the browser instead of downloading them. For .zip .wma files the browser opens the download dialog box.
But it would be nice to have him open de file download dialog box everytime.


roel



Hmmm, right... Sorry..

It does work on generate/serialize, but perhaps I was wrong and doesn't
it work on matches that only contain a reader. Funny though..

Have you tried the following already?

                <map:match pattern="download/**">
                                 <map:read src="" mime-type="application/x-download"
/>
                </map:match>

(or something alike?)

Kind regards,
Geert


Reply via email to