Skip to content

Conversation

@maxceem
Copy link
Contributor

@maxceem maxceem commented Oct 30, 2020

For the pagination functionality, we set headers X-Page, X-Per-Page, X-Total, X-Total-Pages, X-Prev-Page, X-Next-Page, so a client app can read them to show total number of the pages.

Due to security reasons, browsers do not allow access to custom headers unless explicitly set.
To let client-side code access pagination headers we have to set Access-Control-Expose-Headers header, see:

This is done via this PR.

@ThomasKranitsas ThomasKranitsas merged commit 1bda627 into topcoder-platform:develop Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants