wget-dev
[Top][All Lists]
Advanced

[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: Tim Rühsen
Subject: Re: [Wget-dev] wget2 | Can't test with cookies since localhost is a public suffix (#417)
Date: Wed, 14 Nov 2018 14:09:32 +0000

Let `wget_test_start_server()` create a `.test_<pid>/hosts` file with an initial
```
wgetserver.test localhost
```

The we should have a function `wget_test_add_host()` to add more entries, e.g.
```
wget_test_add_host("anotherdomain.test", "localhost");
```

As you said, --span-hosts can be checked via `expected_req_headers`.

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/issues/417#note_117230350
You're receiving this email because of your account on gitlab.com.


reply via email to

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