cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: HTTP Redirection to Relative path

From: Woods <woods.biz_at_gmail.com>
Date: Thu, 22 Mar 2012 21:29:54 +0800

Hi,

I know the cause of repeating requesting the same url, rather than fetching
the HTTP Location. It is because my URL contains a '\n" at the end. When I
remove this "\n" from url string, libcurl returns to normal.
Well, I will fix my code, but curious if libcurl can improve somewhere to
counter this drawback.

Woods

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-03-22