aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-12-19 23:25:04 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-12-19 23:25:04 +0000
commitd60029d66e968a078678a2274f2b25a83ee2c8d6 (patch)
tree78197a4ab6a3e6d4fb2f89a07ec9dc33cdbf6f63 /docs
parent226fe8bdf9c9ff8cb5667a058a6a7b58dc80711c (diff)
Added 4.5.6 "301 Moved Permanently", as a reply to bug report #495215
Diffstat (limited to 'docs')
-rw-r--r--docs/FAQ14
1 files changed, 13 insertions, 1 deletions
diff --git a/docs/FAQ b/docs/FAQ
index 155ea45a8..464ffe182 100644
--- a/docs/FAQ
+++ b/docs/FAQ
@@ -1,4 +1,4 @@
-Updated: November 27, 2001 (http://curl.haxx.se/docs/faq.shtml)
+Updated: December 20, 2001 (http://curl.haxx.se/docs/faq.shtml)
_ _ ____ _
___| | | | _ \| |
/ __| | | | |_) | |
@@ -49,6 +49,7 @@ FAQ
4.5.3 "403 Forbidden"
4.5.4 "404 Not Found"
4.5.5 "405 Method Not Allowed"
+ 4.5.6 "301 Moved Permanently"
4.6 Can you tell me what error code 142 means?
4.7 How do I keep user names and passwords secret in Curl command lines?
4.8 I found a bug!
@@ -478,6 +479,17 @@ FAQ
identified by the Request-URI. The response MUST include an Allow header
containing a list of valid methods for the requested resource.
+ 4.5.6 "301 Moved Permanently"
+
+ If you get this return code and an HTML outpt similar to this:
+
+ <H1>Moved Permanently</H1> The document has moved <A
+ HREF="http://same_url_now_with_a_trailing_slash/">here</A>.
+
+ it might be because you request a directory URL but without the trailing
+ slash. Try the same operation again _with_ the trailing URL, or use the
+ -L/--location option to follow the redirection.
+
4.6. Can you tell me what error code 142 means?
All error codes that are larger than the highest documented error code means