Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. gdelhumeau1 +XWiki.Sergiu - Content
-
... ... @@ -298,7 +298,7 @@ 298 298 The format is ##wiki/<wiki name>/<bin subpath>## where: 299 299 300 300 * ##<wiki name>##: the name of the subwiki, e.g. ##platform##. 301 -* ##<bin spath>##: the same path as for the ##bin## action (see above). For example, if you use ##http:~/~/<main wiki server>/xwiki/bin/download/XWiki/JohnDoe/john.png## you would use ##http:~/~/<main wiki server>/xwiki/wiki/<subwiki name>/download/XWiki/JohnDoe/john.png## to access the same attachment but located in a subwiki named ##<subwiki>##. 301 +* ##<bin subpath>##: the same path as for the ##bin## action (see above). For example, if you use ##http:~/~/<main wiki server>/xwiki/bin/download/XWiki/JohnDoe/john.png## you would use ##http:~/~/<main wiki server>/xwiki/wiki/<subwiki name>/download/XWiki/JohnDoe/john.png## to access the same attachment but located in a subwiki named ##<subwiki>##. 302 302 303 303 = Type: ##resources## = 304 304 ... ... @@ -307,3 +307,18 @@ 307 307 = Type: ##skins## = 308 308 309 309 Static skin resources, e.g. ##http:~/~/<server>/xwiki/skins/flamingo/logo.png##. 310 + 311 += Type: ##temp## = 312 + 313 +Dynamic temporary resources, bound to a specific document and a specific module. 314 + 315 +The format is ##temp/<Space>/<Document>/<module>/<file.ext>##, where: 316 + 317 +* ##<Space>## and ##<Document>## identify the target document; currently only the last part of the space is supported 318 +* ##<module>## is the name of the module that generated the resource, a short string used for avoiding conflicts between different modules generating temporary files with the same name 319 +* ##<file.ext>## is the name of the temporary file 320 + 321 +== Parameter: ##force-download## == 322 + 323 +If set to ##1##, force the file to be downloaded instead of being opened in the browser (it sets the ##Content-Disposition## header to ##attachment##). 324 +