From 87c1ada03a3292bc83be6d89d5a7ccc035ffd21d Mon Sep 17 00:00:00 2001 From: David Andersen Date: Thu, 7 Mar 2024 14:07:47 -0800 Subject: [PATCH] send application/json --- src/awsed/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/awsed/client.py b/src/awsed/client.py index 51dcfe8..e3e4a1f 100644 --- a/src/awsed/client.py +++ b/src/awsed/client.py @@ -271,7 +271,7 @@ def patch_request( ) -> requests.Response: full_url = self.endpoint + url headers = headers or self.auth() - + headers['Content-Type'] = 'application/json' data_json = json.dumps(data, default=lambda o: o.__dict__) result = requests.patch(