Comment 1 for bug 1384382

Revision history for this message
Rodrigo Duarte (rodrigodsousa) wrote :

here are some possible solutions:

In keystone.middleware.core.XmlBodyMiddleware, we can try to use serializer.from_xml() to check if the body is already a XML file. Or we can use serializer.from_xml() in keystone.contrib.federation.controllers.SAMLMetadataV3 to parse the metadata body before calling wsgi.render_response().

Any thoughts?