curl-library
Re: Curl reports: "Maximum (50) redirects followed"
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 22 Feb 2013 23:50:30 +0100 (CET)
Date: Fri, 22 Feb 2013 23:50:30 +0100 (CET)
On Fri, 22 Feb 2013, Alex Vinnik wrote:
> I recently run into some disagreement between curl and browsers (chrome,
> firefox). Same URL is fetched just fine by browsers.
>
> $ ~/bin/curl -L "
> http://www.expedia.ca/pubspec/scripts/eap.asp?PRID=4&GOTO=PROMOS&Page=../../p/promos/winter-vacation-deals?langid=4105&AID=11259876&PID=3211374&affcid=network.cj.3211374.11259876
> ."
> curl: (47) Maximum (50) redirects followed
Lots of cookies in that browser trace. What about enabling cookies in your
curl command? Also, sites are very frequently acting differently depending on
the headers used.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2013-02-22