qgsnewhttpconnection: Always enable paging options for WFS 1.1 #60145
+4
−4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Paging support is only handled by WFS 2.0. However, some servers handle paging even if they only expose WFS 1.1. At the moment, when changing the version number, it has the following effect on the paging options:
With this change, both paging options can be enabled for version 1.1. This allows to try to enable paging for WFS 1.1 if the server handles it.
@rouault I'm not sure what the correct behavior is but I don't understand the current one. At the moment, if the
1.1
version is selected, thefeature paging
option is disabled butpage size
is enabled iffeature paging != disabled
. Why would thepage size
option be enabled if thefeature paging
option is not. The following behavior seems more logical to me:feature paging
optionpage size
is enabled iffeature paging
is notdisabled