remote-curl: let servers override http 404 advice
[gitweb.git] / http.h
diff --git a/http.h b/http.h
index 25d19313983f0d0a11ab50dffbb623b105c8960a..0fe54f413121100edab133baa1ef99f2f38600b6 100644 (file)
--- a/http.h
+++ b/http.h
@@ -118,6 +118,7 @@ extern char *get_remote_object_url(const char *url, const char *hex,
 
 /* Options for http_request_*() */
 #define HTTP_NO_CACHE          1
+#define HTTP_KEEP_ERROR                2
 
 /* Return values for http_request_*() */
 #define HTTP_OK                        0