Skip to content
This repository was archived by the owner on May 22, 2026. It is now read-only.

Commit 663aad6

Browse files
AutoPrFromHttpClientPythonAutoPrFromHttpClientPython
authored andcommitted
Regenerate for typespec-python (2026-05-04 00:15:15)
1 parent b284aa0 commit 663aad6

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

  • packages/typespec-python/tests/generated
    • azure/special-headers-conditional-request/specialheaders/conditionalrequest/_operations
    • unbranded/special-headers-conditional-request/specialheaders/conditionalrequest/_operations

packages/typespec-python/tests/generated/azure/special-headers-conditional-request/specialheaders/conditionalrequest/_operations/_operations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def build_conditional_request_post_if_match_request( # pylint: disable=name-too
4949
_headers["If-Match"] = _SERIALIZER.header("if_match", if_match, "str")
5050
if_none_match = prep_if_none_match(etag, match_condition)
5151
if if_none_match is not None:
52-
_headers["If-None-Match"] = _SERIALIZER.header("if_none_match", if_none_match, "str")
52+
_headers["if-none-match"] = _SERIALIZER.header("if_none_match", if_none_match, "str")
5353

5454
return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs)
5555

@@ -65,7 +65,7 @@ def build_conditional_request_post_if_none_match_request( # pylint: disable=nam
6565
# Construct headers
6666
if_match = prep_if_match(etag, match_condition)
6767
if if_match is not None:
68-
_headers["If-Match"] = _SERIALIZER.header("if_match", if_match, "str")
68+
_headers["if-match"] = _SERIALIZER.header("if_match", if_match, "str")
6969
if_none_match = prep_if_none_match(etag, match_condition)
7070
if if_none_match is not None:
7171
_headers["If-None-Match"] = _SERIALIZER.header("if_none_match", if_none_match, "str")

packages/typespec-python/tests/generated/unbranded/special-headers-conditional-request/specialheaders/conditionalrequest/_operations/_operations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def build_conditional_request_post_if_match_request( # pylint: disable=name-too
4343
_headers["If-Match"] = _SERIALIZER.header("if_match", if_match, "str")
4444
if_none_match = prep_if_none_match(etag, match_condition)
4545
if if_none_match is not None:
46-
_headers["If-None-Match"] = _SERIALIZER.header("if_none_match", if_none_match, "str")
46+
_headers["if-none-match"] = _SERIALIZER.header("if_none_match", if_none_match, "str")
4747

4848
return HttpRequest(method="POST", url=_url, headers=_headers, **kwargs)
4949

@@ -59,7 +59,7 @@ def build_conditional_request_post_if_none_match_request( # pylint: disable=nam
5959
# Construct headers
6060
if_match = prep_if_match(etag, match_condition)
6161
if if_match is not None:
62-
_headers["If-Match"] = _SERIALIZER.header("if_match", if_match, "str")
62+
_headers["if-match"] = _SERIALIZER.header("if_match", if_match, "str")
6363
if_none_match = prep_if_none_match(etag, match_condition)
6464
if if_none_match is not None:
6565
_headers["If-None-Match"] = _SERIALIZER.header("if_none_match", if_none_match, "str")

0 commit comments

Comments
 (0)