summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/http.errors
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-10-22 03:00:10 +0000
committereadler <eadler@FreeBSD.org>2012-10-22 03:00:10 +0000
commitf647c87f9c373d56d14471b8600d0151acf7ebb0 (patch)
tree5d18e5eb8a70ff62d5997b32b56717e2073ae80d /lib/libfetch/http.errors
parente82cfe8e3006fa9ec6e0f1cf5bfc82b3668f5dda (diff)
downloadFreeBSD-src-f647c87f9c373d56d14471b8600d0151acf7ebb0.zip
FreeBSD-src-f647c87f9c373d56d14471b8600d0151acf7ebb0.tar.gz
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] Submitted by: gcooper [0] Reviewed by: des Approved by: cperciva MFC after: 1 week
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 1f38574..e5389fe 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
OpenPOWER on IntegriCloud