Django REST framework request timeout and client cancellation handling
Django REST framework APIView and generic views do not expose a built-in request timeout attribute. Timeout handling is typically delegated to the web server or custom middleware, which leaves the API layer without a documented cancellation signal. Streaming responses are supported via StreamingHttpResponse, but detecting client disconnect is not described a