projects
/
Portfolio.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fileupload.js a été généricisé et déplacé dans Plinn.fileupload.js a été généricisé...
[Portfolio.git]
/
skins
/
photo_download.py
1
req
=
context
.
REQUEST
2
resp
=
req
.
RESPONSE
3
filename
=
getattr
(
context
,
'orig_name'
,
context
.
getId
())
4
resp
.
setHeader
(
'Content-Disposition'
,
'attachment; filename=
%s
'
%
filename
)
5
6
return
context
.
index_html
(
req
,
resp
)