aboutsummaryrefslogtreecommitdiff
path: root/docs/FAQ
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-08-26 13:22:39 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-08-26 13:22:39 +0000
commit09cb9c782daba27526ad59b2185027906d36ff2c (patch)
tree7322ac6d01a2a812fb98f35629033689f4e8a460 /docs/FAQ
parent575ce905b2776540f2d80c93e6dfdcdd7bc93659 (diff)
4.14 Redirects work in browser but not with curl!
Diffstat (limited to 'docs/FAQ')
-rw-r--r--docs/FAQ20
1 files changed, 19 insertions, 1 deletions
diff --git a/docs/FAQ b/docs/FAQ
index 973ae3dae..65d112f56 100644
--- a/docs/FAQ
+++ b/docs/FAQ
@@ -1,4 +1,4 @@
-Updated: August 7, 2005 (http://curl.haxx.se/docs/faq.html)
+Updated: August 26, 2005 (http://curl.haxx.se/docs/faq.html)
_ _ ____ _
___| | | | _ \| |
/ __| | | | |_) | |
@@ -65,6 +65,7 @@ FAQ
4.11 Why does my HTTP range requests return the full document?
4.12 Why do I get "certificate verify failed" ?
4.13 Why is curl -R on Windows one hour off?
+ 4.14 Redirects work in browser but not with curl!
5. libcurl Issues
5.1 Is libcurl thread-safe?
@@ -398,6 +399,8 @@ FAQ
curl -L http://redirector.com
+ Not all redirects are HTTP ones, see 4.14
+
3.9 How do I use curl in my favorite programming language?
There exist many language interfaces/bindings for curl that integrates it
@@ -743,6 +746,21 @@ FAQ
uses file modification times and it is not easily worked around. For details
on this problem, read this: http://www.codeproject.com/datetime/dstbugs.asp
+ 4.14 Redirects work in browser but not with curl!
+
+ curl supports HTTP redirects fine (see item 3.8). Browsers generally support
+ at least two other ways to perform directs that curl does not:
+
+ 1 - Meta tags. You can write a HTML tag that will cause the browser to
+ redirect to another given URL after a certain time.
+
+ 2 - Javascript. You can write a javascript program embeded in a HTML page
+ that redirects the browser to another given URL.
+
+ There is no way to make curl follow these redirects. You must either
+ manually figure out what the page is set to do, or you write a script that
+ parses the results and fetches the new URL.
+
5. libcurl Issues