curl-and-php
RE: Problem url
Date: Fri, 30 Dec 2005 10:23:36 -0500
>"curl -V" displays the full version info.
Command-line curl version is
curl 7.9.5 (i586-pc-linux-gnu) libcurl/7.10.3 OpenSSL/0.9.6c ipv6
zlib/1.2.1
(I don't have control over this). Since I'm not familiar with the
command-line version, I just tried
curl www.brewsupply.com
and
Curl www.tomdattorney.com
This format works just fine with other, non-problematic urls. For these
two thorns in my side, it just times out.
>So it works if you try it with Firefox, but not if you send the exact
same headers as Firefox does with curl?
Yes. But I run Firefox from my Windows PC, whereas php/curl and curl run
from my shell account on an altogether unrelated IP. And from that same
shell account, lynx fails to load the site as well. The host command
returns a valid response, so DNS/IP lookup per se doesn't seem to be the
problem. The problems are duplicated on a different shell account
(different but closely related IP).
Is there any hope of resolving this, or should I write it off as a fluke
(and known bug in my software :-?) ?
Rob
-----Original Message-----
From: curl-and-php-bounces_at_cool.haxx.se
[mailto:curl-and-php-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Sunday, December 25, 2005 2:23 PM
To: curl-and-php_at_cool.haxx.se
Cc: RAMBL!
Subject: Re: Problem url
Can you show us a full command line you use with the command line
version that fails? My simple tests from my end worked just fine.
> I duplicated the headers sent out by Firefox for the same (successful)
> request, but still got no response. I guess I'm ready to give up, but
> am hoping for that spark of insight or advice that will help me get
> around this.
So it works if you try it with Firefox, but not if you send the exact
same headers as Firefox does with curl?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2005-12-30