Skip to content

Commit 5f94067

Browse files
authored
Replaced deprecated httpx param data with content (#1945)
Fixes #1944
1 parent a1c3d0a commit 5f94067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/confluent_kafka/schema_registry/schema_registry_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ def send_http_request(
484484
for i in range(self.max_retries + 1):
485485
response = self.session.request(
486486
method, url="/".join([base_url, url]),
487-
headers=headers, data=body, params=query)
487+
headers=headers, content=body, params=query)
488488

489489
if is_success(response.status_code):
490490
return response

0 commit comments

Comments
 (0)