- To make it easier for applications that want lots of magic stuff done on
authorDaniel Stenberg <daniel@haxx.se>
Wed, 30 Apr 2008 21:20:08 +0000 (21:20 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 30 Apr 2008 21:20:08 +0000 (21:20 +0000)
commit852989856d3802a9e7bd2f1e368302d92ddf66e2
treec26ddf2fbf798b3939f0867bff7b90dfdcde0148
parent7dfdbf8fbebab9af95e19c5ff8af3073218e4a4f
- To make it easier for applications that want lots of magic stuff done on
  redirections and thus cannot use CURLOPT_FOLLOWLOCATION easily, we now
  introduce the new CURLINFO_REDIRECT_URL option that lets applications
  extract the URL libcurl would've redirected to if it had been told to. This
  then enables the application to continue to that URL as it thinks is
  suitable, without having to re-implement the magic of creating the new URL
  from the Location: header etc. Test 1029 verifies it.
14 files changed:
CHANGES
RELEASE-NOTES
docs/curl.1
docs/libcurl/curl_easy_getinfo.3
include/curl/curl.h
lib/getinfo.c
lib/multi.c
lib/transfer.c
lib/transfer.h
lib/url.c
lib/urldata.h
src/writeout.c
tests/data/Makefile.am
tests/data/test1029 [new file with mode: 0644]