projects
/
Portfolio.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Introduction de la méthode « uploadCompleteHandlerCB ».
[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
)