Django REST Framework Pagination Links Generate Incorrect URLs Behind Reverse Proxy
Problem Statement When Django REST Framework generates pagination links using request.build_absolute_uri(), the resulting URLs may not correctly reflect the original client-facing protocol or host when the application runs behind a reverse proxy or load balancer. This affects PageNumberPagination, LimitOffsetPagination, and CursorPagination equally since the