Commit 59f626ae authored by Jérome Perrin's avatar Jérome Perrin

dms: use ?format= URL for PDF viewer

This is the URL to download, it currently does not support range
requests, but it sets cache headers properly, unlike /getData which
is an accessor
parent 5fbe1a48
......@@ -104,7 +104,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: context.absolute_url()+\'/getData\'</string> </value>
<value> <string>python: context.absolute_url()+\'?format=\'</string> </value>
</item>
</dictionary>
</pickle>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment