[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Wget-dev] wget2 | Can't test with cookies since localhost is a publ

From: Darshit Shah
Subject: Re: [Wget-dev] wget2 | Can't test with cookies since localhost is a public suffix (#417)
Date: Wed, 14 Nov 2018 13:01:02 +0000

I like the first idea. Also, according to [RFC 
2006](http://www.ietf.org/rfc/rfc2606.txt), the `.test` TLD is reserved for DNS 
Resolution testing purposes. We can use this TLD and set multiple aliases in a 
custom hosts file like this:

> wgetserver1.test localhost
> wgetserver2.test localhost

And any required subdomains as well. This allows us to have multiple domains 
and subdomains which is useful for testing `--span-hosts` and cookies across 
domains and many other test scenarios. 

I guess, the best approach would be to have a default `wgetserver.test 
localhost` in one file and then allow each test to modify this file and add new 

Reply to this email directly or view it on GitLab: 
You're receiving this email because of your account on gitlab.com.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]