fixed type-error that would crash the request

This commit is contained in:
2024-07-28 13:55:35 +02:00
parent 45d197add4
commit 09473e1050

View File

@ -80,7 +80,7 @@ async def test_data(api_key: str, size: str) -> StreamingResponse:
content=generate_data(size, BUFFER_SIZE), content=generate_data(size, BUFFER_SIZE),
media_type='application/octet-stream', media_type='application/octet-stream',
headers={ headers={
'Content-Length': size 'Content-Length': str(size)
} }
) )