summaryrefslogtreecommitdiffstats
path: root/include/http_protocol.h
diff options
context:
space:
mode:
authorGreg Stein <gstein@apache.org>2000-06-24 19:34:11 +0200
committerGreg Stein <gstein@apache.org>2000-06-24 19:34:11 +0200
commit02a2200fd8a67b36003d78858cab8f59d6c3fece (patch)
tree03f4fee4e8422928079b601d4f55ae02362f984f /include/http_protocol.h
parenthttp_request.[ch]: (diff)
downloadapache2-02a2200fd8a67b36003d78858cab8f59d6c3fece.tar.xz
apache2-02a2200fd8a67b36003d78858cab8f59d6c3fece.zip
blast the old names for the status codes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85686 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_protocol.h')
-rw-r--r--include/http_protocol.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/http_protocol.h b/include/http_protocol.h
index ea1b59ab4b..43a0a6aa45 100644
--- a/include/http_protocol.h
+++ b/include/http_protocol.h
@@ -113,7 +113,7 @@ API_EXPORT(void) ap_send_error_response(request_rec *r, int recursive_error);
/* Set last modified header line from the lastmod date of the associated file.
* Also, set content length.
*
- * May return an error status, typically USE_LOCAL_COPY (that when the
+ * May return an error status, typically HTTP_NOT_MODIFIED (that when the
* permit_cache argument is set to one).
*/
@@ -186,10 +186,10 @@ API_EXPORT(int) ap_each_byterange(request_rec *r, ap_off_t *offset,
*
* get_basic_auth_pw returns 0 (OK) if it set the 'pw' argument (and assured
* a correct value in r->connection->user); otherwise it returns an error
- * code, either SERVER_ERROR if things are really confused, AUTH_REQUIRED
- * if no authentication at all seemed to be in use, or DECLINED if there
- * was authentication but it wasn't Basic (in which case, the caller should
- * presumably decline as well).
+ * code, either HTTP_INTERNAL_SERVER_ERROR if things are really confused,
+ * HTTP_UNAUTHORIZED if no authentication at all seemed to be in use, or
+ * DECLINED if there was authentication but it wasn't Basic (in which case,
+ * the caller should presumably decline as well).
*
* note_basic_auth_failure arranges for the right stuff to be scribbled on
* the HTTP return so that the client knows how to authenticate itself the