(self, request: Request, file_id: str)
| 23 | tags=[_('File')] # type: ignore |
| 24 | ) |
| 25 | def get(self, request: Request, file_id: str): |
| 26 | return FileSerializer.Operate(data={ |
| 27 | 'id': file_id, |
| 28 | 'http_range': request.headers.get('Range', ''), |
| 29 | }).get() |
| 30 | |
| 31 | |
| 32 | class FileView(APIView): |