]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: http: fix typo: "401 Unauthorized" => "407 Unauthorized"
authorGodbach <nylzhaowei@gmail.com>
Wed, 17 Dec 2014 08:32:05 +0000 (16:32 +0800)
committerWilly Tarreau <w@1wt.eu>
Wed, 17 Dec 2014 16:05:49 +0000 (17:05 +0100)
401 Unauthorized => 407 Unauthorized

Signed-off-by: Godbach <nylzhaowei@gmail.com>
src/proto_http.c

index f19a69b3645c6a1a6e14d222d9f98cb563060e41..0a94785b069310e578f1241f59a043c40b830f56 100644 (file)
@@ -124,7 +124,7 @@ const char *HTTP_407_fmt =
        "Content-Type: text/html\r\n"
        "Proxy-Authenticate: Basic realm=\"%s\"\r\n"
        "\r\n"
-       "<html><body><h1>401 Unauthorized</h1>\nYou need a valid user and password to access this content.\n</body></html>\n";
+       "<html><body><h1>407 Unauthorized</h1>\nYou need a valid user and password to access this content.\n</body></html>\n";
 
 
 const int http_err_codes[HTTP_ERR_SIZE] = {