Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Prompt for a username when an HTTP request 401s
[gitweb.git]
/
http.h
diff --git
a/http.h
b/http.h
index 5c9441c10ce708be426afe7424d63dcbb68a49e2..2dd03e88b75e2f4dd7b328e5baf5359adebc945e 100644
(file)
--- a/
http.h
+++ b/
http.h
@@
-126,6
+126,8
@@
extern char *get_remote_object_url(const char *url, const char *hex,
#define HTTP_MISSING_TARGET 1
#define HTTP_ERROR 2
#define HTTP_START_FAILED 3
+#define HTTP_REAUTH 4
+#define HTTP_NOAUTH 5
/*
* Requests an url and stores the result in a strbuf.