title: Selenium RC Referer header
body: <p>I am using Selenium 2.8 with TestNG. I need to test usecases where I have to set custom referer header? I tried using addCustomHeader, but didnt work. I also tried selenium.start("addCustomHeaders=true") and then selenium.addCustomHeader("Referer", url)  in my test. That didnt work either. Should I be using selenium as proxy. If so how to configure using Firefox and selenium java and how does it work. How to set the referer in that case? Does FirefoxDriver ease the job?</p>