application/dns-message

This commit is contained in:
Frank Denis 2018-05-19 02:39:32 +02:00
parent 0b72301e76
commit da06657963
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ func (xTransport *XTransport) Post(url *url.URL, accept string, contentType stri
func (xTransport *XTransport) DoHQuery(useGet bool, url *url.URL, body []byte, timeout time.Duration) (*http.Response, time.Duration, error) {
padLen := 63 - (len(body)+63)&63
padding := xTransport.makePad(padLen)
dataType := "application/dns-udpwireformat"
dataType := "application/dns-message"
if useGet {
qs := url.Query()
qs.Add("ct", "")