Properly handles content negotiation failures. Closes #28