Skip to content
Snippets Groups Projects
Commit 1eed7c39 authored by Martin van Es's avatar Martin van Es
Browse files

Add Content-Disposition and filename for metadata download

parent 274cbc8a
No related branches found
No related tags found
No related merge requests found
......@@ -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]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment