-
Notifications
You must be signed in to change notification settings - Fork 229
Bugs
antel edited this page Aug 12, 2010
·
23 revisions
REDIRECT_TIME BUG:
Hi, I appreciate much your work to maintain curb, here is the bug:
redirect_time didn’t find the correct version of curl so always give the warning:
warning: Installed libcurl is too old to support redirect_time
(latest curb(from this git), curl 7.19.2(latest as 30/11/08))
URL STORING BUG:
The url gives two 301(Moved permanently) and one 200, only the first url(search.ebay.com) is stored and the last(200 shop.ebay.com is skipped, normal behavior?):
def expand(url)
request = Curl::Easy.perform(url) do |curl|
curl.follow_location = true
curl.verbose = true
end
puts request.url
end
web = expand('http://search.ebay.com/search/search.dll?from=R40&_trksid=m37&satitle=ipod')
output:
curl-verbose*
http://search.ebay.com/search/search.dll?from=R40&_trksid=m37&satitle=ipod
instead of:
(from curl-verbose*)
> GET /items/_W0QQ_nkwZipodQQ_armrsZ1QQ_fromZR40QQ_mdoZ HTTP/1.1
Host: shop.ebay.com