Skip to content

Next links on items response drop the "f" parameter #2175

@mikemahoney218-usgs

Description

@mikemahoney218-usgs

Description
"f" parameters are dropped in generated next links. This means that, if you're using a non-default format, you need to alter the link to add this argument before following it. I think it would be better if the link included this argument.

Steps to Reproduce
Steps to reproduce the behavior:

Go to any page of an items response using an f argument:
https://demo.pygeoapi.io/master/collections/lakes/items?f=json&limit=1

The next link will not have the f argument.

Expected behavior
Following the next link provides data in the same response format as the current page.

Environment

  • OS: alpine
  • Python version: 3.13
  • pygeoapi version: master

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions