Skip to content

Commit 3e3f1f2

Browse files
committed
Add new header
1 parent 34ad2c4 commit 3e3f1f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/confluent_kafka/schema_registry/_async/schema_registry_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ async def send_request(
441441
body = json.dumps(body)
442442
headers = {'Content-Length': str(len(body)),
443443
'Content-Type': "application/vnd.schemaregistry.v1+json",
444-
'Accept-Version': "8.0"}
444+
'Confluent-Accept-Unknown-Properties': "true"}
445445

446446
if self.bearer_auth_credentials_source:
447447
await self.handle_bearer_auth(headers)

src/confluent_kafka/schema_registry/_sync/schema_registry_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ def send_request(
441441
body = json.dumps(body)
442442
headers = {'Content-Length': str(len(body)),
443443
'Content-Type': "application/vnd.schemaregistry.v1+json",
444-
'Accept-Version': "8.0"}
444+
'Confluent-Accept-Unknown-Properties': "true"}
445445

446446
if self.bearer_auth_credentials_source:
447447
self.handle_bearer_auth(headers)

0 commit comments

Comments
 (0)