[API] Pagination links don't keep query parameters
When accessing an url like
https://gitlab.com/api/v3/projects/13083/issues?state=closed&page=2&per_page=10
the returned Link
header will look like this:
<https://gitlab.com/api/v3/projects/13083/issues?page=1&per_page=10>; rel="prev",
<https://gitlab.com/api/v3/projects/13083/issues?page=3&per_page=10>; rel="next",
<https://gitlab.com/api/v3/projects/13083/issues?page=1&per_page=10>; rel="first",
<https://gitlab.com/api/v3/projects/13083/issues?page=272&per_page=10>; rel="last"
So all query parameters get lost.