Skip to content

Pagination header Content-Range / Range-Unit is not working #3767

Answered by wolfgangwalther
rv2931 asked this question in Q&A
Discussion options

You must be logged in to vote

Hm. The section you are referring to is this, I guess: https://docs.postgrest.org/en/v12/references/api/pagination_count.html#limits-and-pagination

This mentions explicitly that this the response format. You can expect the Content-Range header as a return. (This is the same with all Content-XX headers btw, you never send them in a request)

Further down, you can find the first mention of how to request that: https://docs.postgrest.org/en/v12/references/api/pagination_count.html#range-header

The header you need to send is Range.

Replies: 3 comments 16 replies

Comment options

You must be logged in to vote
7 replies
@laurenceisla
Comment options

@rv2931
Comment options

@rv2931
Comment options

@wolfgangwalther
Comment options

@rv2931
Comment options

Answer selected by wolfgangwalther
Comment options

You must be logged in to vote
1 reply
@wolfgangwalther
Comment options

Comment options

You must be logged in to vote
8 replies
@foxydevloper
Comment options

@rv2931
Comment options

@foxydevloper
Comment options

@wolfgangwalther
Comment options

@foxydevloper
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #3766 on November 05, 2024 19:19.