Hi,
Using a recent 9.1 Beta on windows.
I create an XML catalog at c:\tmp\mycatalog.xml
http://nowhere.com/doc";
uri="file:///c:/tmp/doc.xml" />
Then in the GUI
fetch:xml("http://nowhere.com/doc";,
map{"catfile": "C:\tmp\mycatalog.xml"}
)
It goes to nowhere, I was hoping to get back c:/t
Hi Bogdan,
I assume the last map is for options only. All headers should go into
the second map.
Try with:
return (
web:response-header(
map { 'media-type': web:content-type($path) },
map { 'Cache-Control': 'max-age=3600,public', 'Set-Cookie':
'JSESSIONID=' || session:id() |
2 matches
Mail list logo