Skip to content

Commit

Permalink
send application/json
Browse files Browse the repository at this point in the history
  • Loading branch information
dtandersen committed Mar 7, 2024
1 parent 365411b commit 87c1ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/awsed/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 87c1ada

Please sign in to comment.