On Saturday, November 14, 2015 at 8:55:33 AM UTC-5, Mike Orr wrote: > > ... but it should work with HTTPUnprocessableEntity > > I may try that with some of my responses. >
I use some custom exceptions and handling to generate the right response. I don't particularly like it. I think the right way to handle this would probably be to somehow extend the HTTPException class and Pyramid's own handling to natively support this. I haven't figured out a clean way of doing it though, as it would have to integrate a bit with how @view_config sets up renderers. -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
