On Tuesday, August 27, 2019 11:01:41 AM CEST Leif
Johansson wrote:
pyramid.httpexceptions.HTTPNotAcceptable
OK I pushed a fix for that.
Well, you should at least try to run your code before you push, because you
missed a closing bracket and it's not helping. I tried that as well, so there
is a really messy interaction between pyff and accept-types going on...
Going to add some debug statements in _fmt to see what's happening.
And I would suggest not to return application/samlmetadata+xml for everyone,
just because pysaml2 asks for it? Unless I don't understand the implications
of the return value of _fmt correctly?
Martin
So _fmt is just a default fallback that actually shouldn't get called -
if you run emit in your pipeline the mime-type should be set there.
I'll debug some too. Sorry about the confusion!
Cheers Leif