On Tue, Jan 01, 2002 at 10:03:23AM +0300, Alexander V. Lukyanov wrote: > Ok, I'll change the default. lftp won't send Referer, because it was not > designed to keep the source of Request-URI. > > Somebody have told me that some server refused to work properly if there were > no Referer header, even faked one, that's why lftp sent Referer header > by default.
Lots of servers have dumb referer checks and break with none; I'd rather see fake ones sent by default than nothing at all, even if it's against the RFC. (I prefer default behavior that works just about everywhere to RFC-strict defaults, myself, when there's nothing lost.) (I've wanted to set up Squid to automatically add or replace a Referer header with the URL itself, so I could get this behavior with IE, but Squid, last I used it, didn't even support HTTP/1.1.) > This is true, as this implements a very common "I don't want my files linked > from someweher else" protection, however, this also makes bookmarks a bit > useless and doesn't work over many proxies (privacy), so these servers are > fortunately a dying thing. Unfortunately, they seem as prevelent as ever. Geocities does this for all images ... -- Glenn Maynard
