diff --git a/src/httpc.c b/src/httpc.c
index ea2fa4e38c3a1fbe351d7df731cfeb7c02f9c1bf..7396bd302b1534e8d34c699ce6112c129348b2f3 100644
--- a/src/httpc.c
+++ b/src/httpc.c
@@ -405,6 +405,7 @@ httpc_execute(struct httpc_request *req, double timeout)
 	case CURLE_COULDNT_RESOLVE_HOST:
 	case CURLE_COULDNT_CONNECT:
 	case CURLE_WRITE_ERROR:
+	case CURLE_BAD_CONTENT_ENCODING:
 		/* 595 Connection Problem (AnyEvent non-standard) */
 		req->status = 595;
 		req->reason = curl_easy_strerror(req->curl_request.code);