Skip to content

Commit

Permalink
small change adding length check
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelyangdog committed Nov 20, 2024
1 parent 336bdc8 commit 0f1fe0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/parametric/test_headers_baggage.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,5 +241,7 @@ def test_baggageheader_maxbytes_inject_D017(self, test_library):
for header in headers:
if "baggage" in header:
baggage_header = header
items = baggage_header[1].split(",")
header_size = len(baggage_header[1].encode("utf-8"))
assert len(items) == 2
assert header_size <= max_bytes

0 comments on commit 0f1fe0d

Please sign in to comment.