chore: update dns providers libs. (#877)

This commit is contained in:
Ludovic Fernandez 2019-06-24 20:08:55 +02:00 committed by GitHub
parent 83618fed79
commit ac65f6c6a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
180 changed files with 6675 additions and 5000 deletions

View file

@ -263,6 +263,11 @@ func addToBody(request *http.Request, value reflect.Value, field reflect.StructF
if e != nil {
return
}
if defaultLogger.LogLevel() == verboseLogging {
Debugf("Marshaled body is: %s\n", string(marshaled))
}
bodyBytes := bytes.NewReader(marshaled)
request.ContentLength = int64(bodyBytes.Len())
request.Header.Set(requestHeaderContentLength, strconv.FormatInt(request.ContentLength, 10))