The problem of Django REST framework as a video upload interface

there is no problem with uploading small files on (iOS, Android) on mobile devices, but there are some larger files (more than 50m). After the upload progress is completed, it will take a long time for the server to return response information, and sometimes it will take too long to report TimeOut errors.

could you tell me how to optimize it?


Why send the file directly to the server, Qiniu, Qiniu and then return the file name
. Sometimes a TimeOut error will be reported if it takes too long. For this problem, you can adjust the configuration of nginx
, but it is not recommended to send large files directly

.
Menu