node/routes: Fix error handling
We should always send HTML if the user agent expects it. If they do not, they should clearly indicate such via the Accept header. Closes #2297
A
Anmol Sethi committed
40a7c11ce3f0d9c5416eb7d54ab529b80a4847dc
Parent: 7afa689