Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Trust and Identity Incubator
alternate-mdx
Commits
1eed7c39
Commit
1eed7c39
authored
Dec 09, 2021
by
Martin van Es
Browse files
Add Content-Disposition and filename for metadata download
parent
274cbc8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
mdserver.py
View file @
1eed7c39
...
...
@@ -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
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment