application/dns-message
This commit is contained in:
parent
0b72301e76
commit
da06657963
|
@ -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", "")
|
||||
|
|
Loading…
Reference in New Issue