40a7c11ce3
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