summaryrefslogtreecommitdiff
path: root/lib/libfetch/http.errors
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-10-29 04:16:52 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-10-29 04:16:52 +0000
commitb4884d15e216ecf4e91a3de3abe721ffabab555e (patch)
treed27ea4a70e489094ed1fc9d5ddb6d22b7d7fbdd5 /lib/libfetch/http.errors
parentc619be60c97ffe43e7a33930f1993d3319a0a6d1 (diff)
MFC r241840:
Don't deny non-temporary redirects if the -A option is set (per the man page) [0] While here add support for draft-reschke-http-status-308-07 PR: 172451 [0] Approved by: cperciva (implicit)
Notes
svn path=/stable/8/; revision=242288
Diffstat (limited to 'lib/libfetch/http.errors')
-rw-r--r--lib/libfetch/http.errors1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libfetch/http.errors b/lib/libfetch/http.errors
index 1f38574d463a..e5389fefcc56 100644
--- a/lib/libfetch/http.errors
+++ b/lib/libfetch/http.errors
@@ -18,6 +18,7 @@
304 OK Not Modified
305 INFO Use Proxy
307 MOVED Temporary Redirect
+308 MOVED Permanent Redirect
400 PROTO Bad Request
401 AUTH Unauthorized
402 AUTH Payment Required