Prevent error when `Accept` header is not sent.

It's not a common problem, but it was bringing the process down on every request to the server. Thanks!