diff options
author | Maxim Devaev <[email protected]> | 2022-07-23 08:50:20 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-07-23 08:50:20 +0300 |
commit | 3e402f4d7b6817a2c2d8b6f3cea46da5420e8dc1 (patch) | |
tree | a33f904c0516ae86e61267d25a6a885318a4958f /kvmd/htserver.py | |
parent | 5b11b6bc55d9e32b4802ca86b7b66aea827025ce (diff) |
refactoring
Diffstat (limited to 'kvmd/htserver.py')
-rw-r--r-- | kvmd/htserver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/htserver.py b/kvmd/htserver.py index df687989..af4498c1 100644 --- a/kvmd/htserver.py +++ b/kvmd/htserver.py @@ -187,7 +187,7 @@ def make_json_exception(err: Exception, status: Optional[int]=None) -> Response: }, status=status) -async def start_streaming(request: Request, content_type: str="application/x-ndjson") -> StreamResponse: +async def start_streaming(request: Request, content_type: str) -> StreamResponse: response = StreamResponse(status=200, reason="OK", headers={"Content-Type": content_type}) await response.prepare(request) return response |