enum http_client_request_error {
/* The request was aborted */
- HTTP_CLIENT_REQUEST_ERROR_ABORTED = 9000,
+ HTTP_CLIENT_REQUEST_ERROR_ABORTED = HTTP_RESPONSE_STATUS_INTERNAL,
/* Failed to perform DNS lookup for the host */
HTTP_CLIENT_REQUEST_ERROR_HOST_LOOKUP_FAILED,
/* Failed to setup any connection for the host and client settings allowed
#include "http-header.h"
#define http_response_header http_header_field /* FIXME: remove in v2.3 */
+#define HTTP_RESPONSE_STATUS_INTERNAL 9000
enum http_response_payload_type {
HTTP_RESPONSE_PAYLOAD_TYPE_ALLOWED,