updated
This commit is contained in:
parent
1a4d4997da
commit
c952bd921f
@ -78,7 +78,7 @@ async def test_data(api_key: str, request: Request, size: str) -> StreamingRespo
|
||||
return StreamingResponse(
|
||||
status_code=status.HTTP_200_OK,
|
||||
content=generate_data(size, BUFFER_SIZE),
|
||||
headers={'Content-Type': 'application/octet-stream'}
|
||||
media_type='application/octet-stream'
|
||||
)
|
||||
|
||||
except MinSizePerRequestError:
|
||||
|
Loading…
Reference in New Issue
Block a user