Changeset [297f6ba5f675db902457116041aad2fdf4eacf1c] by Dominic Baggott

2009-11-22 16:29:32 UTC

Errors render as JSON when requested.

500 and 404 errors will render as JSON instead of HTML if the HTTP-ACCEPT
header includes application/json.
http://github.com/ashb/juice/commit/297f6ba5f675db902457116041aad2f...

Committed by Dominic Baggott

  • M lib/juice/application.js
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Juice JS!

Shared Ticket Bins