buildo / nozzle

MIT License
0 stars 1 forks source link

JSON Error serialization #21

Open danielegallingani opened 8 years ago

danielegallingani commented 8 years ago

description

We should provide in nozzle a default (overridable) error serialization in JSON. Right now some of the errors such as bad requests are serialized with an HTML payload without any particular reason: let's JSONize them all!

gabro commented 8 years ago

Good point, I've always wanted to do this!

danielegallingani commented 8 years ago

assigned to you then :)

gabro commented 8 years ago

no time at the moment sorry. That assignment would be a lie :)

calippo commented 8 years ago

Accidentally closed in https://github.com/buildo/nozzle/pull/24, reopening