From 5eb2a09b899fbc8228b42464961054d1a4df853a Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Sat, 7 Jan 2023 23:38:35 +0300 Subject: [PATCH] use no default content-type Signed-off-by: Vasiliy Tolstov --- client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.go b/client/client.go index 3d43df7a..6d60aef0 100644 --- a/client/client.go +++ b/client/client.go @@ -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 -- 2.45.2