Fixing stuff again

December 1, 2011 @ 23:50

I’ve been messing with building REST APIs in Pyramid, and one thing that lacking was the ability to send HTTP error messages to the client as JSON objects. Pyramid only had support for HTML or plain text, neither of which is easy to parse when you’re writing a JavaScript client.

So…. this commit to the Pyramid project ought to take care of things nicely.

Hopefully they’ll accept my pull request. If not, I can always just maintain my own fork.