-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow rewriting of request parameters for KVP request #1087
Allow rewriting of request parameters for KVP request #1087
Conversation
* fix NPE on rewrite * prepare layer for dpi testing
…handled correctly + add similarity test to verify that min/max scale with dpi/pixelsize are applied correctly + add similarity tests which check that dpi/pixelsize parameters are handled correctly
+ add missed RemoveMatch * allign vsp handling with documentation
Improving the DPI handling situation in deegree is appreciated. However, the TMC is not ready to accept functionality only to deal with misbehaving clients. |
Since the DPI parameter handling has already been merged with #1086, the rewrite functionality is not continued and the PR will be closed. |
This PR is a supplement to #1086 to manipulate single KVP parameters.
The reason for this is, that some desktop clients are sending invlaid parameters or expection uncommon default values.
With this PR parameters of a KVP request can be manipulated to replace faulty parameters or to enable selective defaulting.
For example invalid
DPI
parameters can be removed or a default value can be set (asX-DPI
).This is targeted to be an easier replacement for rewriting request with a proxy-server like nginx or apache.