@@ -166,7 +166,7 @@ async def test_aiohttp_client_capture_headers(exporter: TestExporter, test_app:
166166 'custom.request.name' : 'Custom Request' ,
167167 'http.response.header.Server-Custom-Header' : ('server-value' ,),
168168 'http.response.header.Content-Type' : ('application/json; charset=utf-8' ,),
169- 'http.response.header.Content-Length' : ( '298' , ),
169+ 'http.response.header.Content-Length' : IsTuple ( IsStr () ),
170170 'http.response.header.Date' : IsTuple (IsStr ()),
171171 'http.response.header.Server' : IsTuple (IsStr ()),
172172 'custom.response.content' : 'Custom Content' ,
@@ -334,7 +334,7 @@ async def handler(request: aiohttp.web.Request) -> aiohttp.web.Response:
334334 'logfire.span_type' : 'span' ,
335335 'logfire.msg' : 'GET localhost/body' ,
336336 'http.response.header.Content-Type' : ('application/json; charset=utf-8' ,),
337- 'http.response.header.Content-Length' : ( '20' , ),
337+ 'http.response.header.Content-Length' : IsTuple ( IsStr () ),
338338 'http.response.header.Date' : IsTuple (IsStr ()),
339339 'http.response.header.Server' : IsTuple (IsStr ()),
340340 'http.status_code' : 200 ,
0 commit comments