cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl behaving differently on UNIX and Linux

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 15 Nov 2006 12:34:11 -0800

On Wed, Nov 15, 2006 at 10:30:08PM +0530, Anand Singh wrote:
> I have written a piece of code that works fine on a Linux server but fails on
> an IBM AIX machine. Can someone please tell me the reason of why this could be
> happening?
[...]
> The version of curl that I am using on the AIX is server is higher than the one
> I am using on the Linux server so version should not be a issue here.

Different curl versions would certainly be a cause of "different" behaviour.
Since you're doing some shell magic before calling curl, differences in the
command-line tools and the shell itself could also cause a difference.

Use one of the curl debug commands (like -v or --trace-ascii) and compare the
actual headers sent and received by both instances of curl and you should
be able to spot the differences.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-11-15