Allow custom status codes for .json, .html, and .text