Commit 1eed7c39 authored by Martin van Es's avatar Martin van Es
Browse files

Add Content-Disposition and filename for metadata download

parent 274cbc8a
......@@ -23,6 +23,7 @@ def sign(domain, eid):
response = Response()
response.headers['Content-Type'] = "application/samlmetadata+xml"
response.headers['Content-Disposition'] = "filename = \"metadata.xml\""
if sha1 in signed[domain]:
signed_entity = signed[domain][sha1]
......
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