aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/pluginwriter
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2012-12-12 11:38:51 +0100
committerSebastian Spaeth <Sebastian@SSpaeth.de>2012-12-21 08:12:25 +0100
commit7c552c0bd76a4bb0292bbdf694d0ce4ba65de0a7 (patch)
treec2ed234420daf606832902b8d3f3e83a0208f373 /docs/source/pluginwriter
parent74af60bb32f9009b838f7acee73c9a6cca2be265 (diff)
downloadmediagoblin-7c552c0bd76a4bb0292bbdf694d0ce4ba65de0a7.tar.lz
mediagoblin-7c552c0bd76a4bb0292bbdf694d0ce4ba65de0a7.tar.xz
mediagoblin-7c552c0bd76a4bb0292bbdf694d0ce4ba65de0a7.zip
plugins/api: use headers.set(), not headers.update()
The werkzeug.Response().headers do not offer an update() method as the same key can be twice in the header 'dict'. Thus, iterate over the header keys and use header.set(key, value) which replaces an existing header key. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'docs/source/pluginwriter')
0 files changed, 0 insertions, 0 deletions