We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When making an API request to the /issues endpoint the query string parameters are not propagated to in the URLs provided in the Link response header.
/issues
Link
curl -I -H "accept: application/json" -H "authorization: Basic XXXXXX" -X GET "https://try.gitea.io/api/v1/repos/jerrykan/example-repo/issues?state=all"
HTTP/2 200 content-type: application/json; charset=UTF-8 date: Wed, 26 Jun 2019 02:07:50 GMT link: <https://try.gitea.io/api/v1/repos/jerrykan/example-repo/issues?page=2>; rel="next",<https://try.gitea.io/api/v1/repos/jerrykan/example-repo/issues?page=3>; rel="last" set-cookie: XXXXXX set-cookie: XXXXXX set-cookie: XXXXXX x-content-type-options: nosniff x-frame-options: SAMEORIGIN
I would expect the Link response header to instead be something like:
link: <https://try.gitea.io/api/v1/repos/jerrykan/example-repo/issues?page=2?state=all>; rel="next",<https://try.gitea.io/api/v1/repos/jerrykan/example-repo/issues?page=3?state=all>; rel="last"
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description
When making an API request to the
/issues
endpoint the query string parameters are not propagated to in the URLs provided in theLink
response header.I would expect the
Link
response header to instead be something like:The text was updated successfully, but these errors were encountered: