curl-users
RE: Challenge to get curl fetching from this site ....
Date: Thu, 31 Aug 2000 17:51:08 +0930
HTTP/1.1 200 OK
Server: Microsoft-IIS/4.0
Date: Thu, 31 Aug 2000 09:20:43 GMT
Content-Type: text/html
Set-Cookie: accept=COOKIES=yes; expires=Thu, 30-Aug-2001 14:00:00 GMT;
domain=.emailcash.com.au; path=/
Set-Cookie: ASPSESSIONIDQQGQQQPT=IBEOMGOCIKOKPHBJJHBJPKHN; path=/
Cache-control: private
I've already checked for a location redirect, there's not much else to
go on though ...
> -----Original Message-----
> From: Daniel Stenberg [mailto:daniel_at_haxx.se]
> Sent: Thursday, 31 August 2000 17:19
> To: 'curl_at_contactor.se'
> Subject: RE: Challenge to get curl fetching from this site ....
>
>
> On Thu, 31 Aug 2000, WILSON, Nick wrote:
>
> > I can get a different response back from this server that
> no longer keeps
> > the Connection: Keep-alive there, using curl command,
>
> > curl -v -i -H "Connection: close" -A "Mozilla/4.0
> (compatible; MSIE 5.01;
> > Windows NT 5.0)" http://www.emailcash.com.au
>
> Well, that indicates that the server tries to behave
> differently depending on
> your "browser".
>
> > but still no body in the http message ?
>
> So, what did the headers say?
>
> > Is there anything I'm missing ? a host or Referrer perhaps ?
>
> Curl automatically uses the headers a valid HTTP request
> should have. I'd
> guess that page has a Location: header to someplace else.
>
> > Is it possible that this site has decided that if you don't have the
> > ability to keep a persistent connection then stuff you, we
> are not going
> > to let you view our site ?
>
> It is possible but hardly likely.
>
> > And no I'm not doing anything dumb to try and get free
> cash, it's just
> > that this site couldn't be fetched from using php with curl
> and I was
> > wondering why ...
>
> The headers you receive probably explains it all...
>
> --
> Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
> ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
>
>
Received on 2000-08-31