cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Order of appearance of header settings

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 11 Oct 2005 23:18:25 +0200 (CEST)

On Tue, 11 Oct 2005, Jason Pump wrote:

> This is an issue if you are trying to simulate the actual behavior of a
> browser. People, for instance, writing a click-fraud script would find this
> problematic.

I've been writing libcurl-using programs and scripts that impersonate browsers
for many years and I have yet to find a site that detect browser based on
header order.

But of course, if it would happen and I really wanted to make my program still
work with the site, I'd introduce an option that would dictate the order of
the outgoing libcurl headers. ;-)

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-10-11