use no default content-type (#165)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org> Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit was merged in pull request #165.
	This commit is contained in:
		| @@ -13,7 +13,7 @@ var ( | |||||||
| 	// DefaultClient is the global default client | 	// DefaultClient is the global default client | ||||||
| 	DefaultClient = NewClient() | 	DefaultClient = NewClient() | ||||||
| 	// DefaultContentType is the default content-type if not specified | 	// 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 is the default backoff function for retries (minimum 10 millisecond and maximum 5 second) | ||||||
| 	DefaultBackoff = BackoffInterval(10*time.Millisecond, 5*time.Second) | 	DefaultBackoff = BackoffInterval(10*time.Millisecond, 5*time.Second) | ||||||
| 	// DefaultRetry is the default check-for-retry function for retries | 	// DefaultRetry is the default check-for-retry function for retries | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user