Hello, The documentation for the default renderer for all views <https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/renderers.html#adding-a-default-renderer> seems to suggest that the following should work:
from pyramid.renderers import JSON config = Configurator( … ) config.add_renderer(None, JSON()) Alas, when one of the views returns HTTPOk() the response type is still html. How to I make JSON the default renderer here for *all* views? Thanks! Jens -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylons-discuss@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/d730910a-2425-48fa-841b-4f891ddc525e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.