cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Retrieve problems for some sites ?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 13 Sep 2007 15:10:27 +0200 (CEST)

On Wed, 12 Sep 2007, tmjb wrote:

> Any when you try from browser it works ok.but with curl i get 404.
>
> Is there anyway to simulate the same behavior as browser with curl for
> this web site.

As always, use LiveHTTPHeaders and then clone as much of the browser's request
as possible when you make the curl request.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2007-09-13