From 9347bb0651423a7b8b93f99db0a6bf451ffc6a71 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Sat, 7 Jan 2023 23:38:53 +0300 Subject: [PATCH] use no default content-type (#165) Signed-off-by: Vasiliy Tolstov 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