Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dantownsend committed Jan 2, 2022
1 parent 0715b36 commit 7cf67c4
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@ Added support for the ``Content-Range`` HTTP header in the GET endpoint of
``PiccoloCRUD``. This means the API client can fetch the number of available
rows, without doing a separate API call to the ``count`` endpoint.

```
GET /?__range_header=true
```
.. code-block::
GET /?__range_header=true
If the page size is 10, then the response header then looks something like:

```
Content-Range: movie 0-9/100
```
.. code-block::
Content-Range: movie 0-9/100
The feature was created to make Piccolo APIs work better with front ends like
`React Admin <https://marmelab.com/react-admin/>`_.
Expand Down

0 comments on commit 7cf67c4

Please sign in to comment.