Update vendor

This commit is contained in:
James Jeffrey
2017-07-19 15:43:53 -07:00
parent 06505cef17
commit f9a46f7c1c
30 changed files with 1131 additions and 160 deletions

View File

@@ -6,6 +6,7 @@ package resty
import (
"crypto/tls"
"encoding/json"
"io"
"net/http"
"net/http/cookiejar"
@@ -36,6 +37,8 @@ func New() *Client {
RetryCount: 0,
RetryWaitTime: defaultWaitTime,
RetryMaxWaitTime: defaultMaxWaitTime,
JSONMarshal: json.Marshal,
JSONUnmarshal: json.Unmarshal,
httpClient: &http.Client{Jar: cookieJar},
transport: &http.Transport{},
}