wget-dev
[Top][All Lists]
Advanced

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

Re: [Wget-dev] wget2 | GSoC'18: Support DNS over HTTPS - Discussions (#3


From: Tim Rühsen
Subject: Re: [Wget-dev] wget2 | GSoC'18: Support DNS over HTTPS - Discussions (#378)
Date: Wed, 11 Jul 2018 11:12:40 +0000

The RFC says, you can either use a GET or a POST request. If you use GET, then 
you have to add a `dns` variable to the URL and it's value is your generated 
payload base64 encoded (we have base64 functions you can use).

So all you have to do is create a complete URL and give that to 
wget_iri_parse().

In 5.1.1 of the RFC/draft you can see an example, like
```
https://dnsserver.example.net/dns-query?dns=AAABAAABAAAAAAAAA3d3dwdleGFtcGxlA2NvbQAAAQAB
```

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


reply via email to

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