Missing Link header on 8.14 API responses for commits.
Summary
When retrieving commits using a project ID, we just get one page. The Link header is missing. However, changing per_page to 100.000 returns everything, so there is more to fetch.
Steps to reproduce
- Call https://gitlab.company.com/api/v3/projects/1/repository/commits using the acquired OAuth token as Authorization header.
- Response returns 10 headers:
cache-control →max-age=0, private, must-revalidate content-length →4879441 content-type →application/json date →Fri, 25 Nov 2016 14:53:35 GMT etag →W/"898585c80f87aad92ff3c5fd8feec820" server →nginx status →200 vary →Origin x-request-id →41fc61a7-fd93-41c0-8d4d-c5a4f8490f88 x-runtime →2.276768
- There is no Link header specified.
Expected behavior
The return a Link header in the response giving the next page's URL.
Actual behavior
No Link header in the response.