d7b112f62b
Previously, request.format was assumed to always be defined when generating `prev` and `next` links. This commit changes this by using json as default format. This supports the use case of curl nicely, but we could also choose e.g. html. This branch is not yet tested because I didn't manage to find/produce test data for single items which have next/previous links. Fixes https://github.com/geopython/pygeoapi/issues/1272