Missing and incorrect pagination headers in `/repository/commits` response
It looks like there have been issues with pagination headers when making a request for /repository/commits
in gitlab.com
- link headers "last" is incorrect, being overwritten by "next" link header
-
X-Total
,X-Total-Pages
headers are also missing from response
I'm aware that repository commits should omit X-Total
, X-Total-Pages
, and "last" link header for repositories with over 10,000 commits, but the repositories I checked both had under 1,000 commits and were still missing. Has anyone else seen this?
Edited by kathy tong