cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: (Using libcurl.vb and Excel VBA) GET Response=HTTP/1.1 400 Bad Request

From: Donnell, Grant, AUCKLAND, Information Services <Grant.Donnell_at_nz.nestle.com>
Date: Fri, 19 May 2006 10:54:03 +1200

With huge thanks to Dan Fandrich who responded:

Try requesting the URL http://www.google.com/ (with a trailing slash). It
looks like you have a picky proxy. And let us know on the list if this
solves it.

On Thu, May 18, 2006 at 06:07:15PM +1200, Donnell,Grant,AUCKLAND,Information Services wrote:
> Hi Dan,
>
> Thanks for the excellent suggestion. I tried it and got a "200 OK" response. What puzzles me now though is that having tried a few sites, I seem to always get the same response of "No default page" as per the attachment.
>
> Is this still likely to be a proxy issue?

>> Dan's response:
>> Yes, it looks to me like the "proxy" you're using isn't actually set up to be
>>a proxy, just a web server, and it's just returning its own home page
>>which hasn't been set.

>>> It turned out I had indeed been given the wrong proxy address. When I found and used the correct proxy, all worked fine.
Received on 2006-05-19