From: GOTO Kentaro Date: 2002-07-27T15:14:51+09:00 Subject: Re: net/http (Referer:?) At Sat, 27 Jul 2002 14:48:26 +0900, Tobias Reif wrote: > I'm downloading stuff with net/http. Some URLs send different stuff, > depending on from where the "browser" comes (with a browser, it only > works correctly when the link was clicked from a certain page). > > Should I send this refering URL in the Referer field? Howto? You can specify header fields by a hash option. http.get(path, "Referer" => "http://www.example.com/from/where") http.get(path, "Referer" => "../from/where/index.html", "Accept-Language" => "ja; q=1.0, en; q=0.5") -- Gotoken