| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Re: Host header question
From: Frank BASKER <dearbasker_at_yahoo.com>
Date: Thu, 8 Jan 2009 07:09:17 -0800 (PST)
> It reloads www.att.com with the Host: header set to att.com?
Yes. That's what I get from Webkit.
________________________________
On Wed, 7 Jan 2009, Frank BASKER wrote:
> I am not trying to trick the server
Yes you are. www.att.com and att.com are two different servers. Or at least I'd say that the chances are very likely that they are as they have quite different IP addresses www.att.com has one and att.com has two and they (the addresses) are owned by different organizations.
Thus you're sending a "Host: att.com" header to the www.att.com server even thought that doesn't serve the 'att.com' site!
I'd say that counts as "ticking the server".
> Just got these parameters from Webkit after trying to reload a page that got redirected (CURLOPT_FOLLOW_LOCATION=0)
It reloads www.att.com with the Host: header set to att.com?
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info