Comment 4 for bug 98437

Revision history for this message
Fred Drake (fdrake) wrote : Re: [Bug 98437] Re: TestBrowser Referer: header set to 'localhost'

On 7/9/07, James Henstridge <email address hidden> wrote:
> This is bad for two reasons:
> 1. it is impossible to test behaviour when no referrer is passed.
> 2. the "Referer" header is meant to be sent to a URL, not a hostname.

It seems setting the default should simply be ripped out. testbrowser
can set the header as appropriate in the click() method of links and
submit controls.