use no default content-type #165

Merged
vtolstov merged 1 commits from content-type into v3 2023-01-07 23:38:53 +03:00
Showing only changes of commit 5eb2a09b89 - Show all commits

View File

@ -13,7 +13,7 @@ var (
// DefaultClient is the global default client
DefaultClient = NewClient()
// DefaultContentType is the default content-type if not specified
DefaultContentType = "application/json"
DefaultContentType = ""
// DefaultBackoff is the default backoff function for retries (minimum 10 millisecond and maximum 5 second)
DefaultBackoff = BackoffInterval(10*time.Millisecond, 5*time.Second)
// DefaultRetry is the default check-for-retry function for retries