You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How can I generate WMS requests with lowercase parameters #325
Please clarify what you mean with parameters. By the WMS standard:
6.4 Request Parameter Rules
6.4.1 Parameter Ordering and Case
Parameter names shall not be case sensitive, but parameter values shall be case sensitive.
In this document, parameter names are typically shown in uppercase for typographical
clarity, not as a requirement.
It means that by the standard only "WMS" should be accepted as a service name, but &SerVICe=WMS is OK. Most, but not all, WMS servers accept also "wms".
Do you know some client that does not follow the standard? Or does MapCache change some parameter values into upper case?
There are infinitely many ways how a non-conformant server can behave and thus it is impossible to support non-conformant servers as infinitely many workarounds would have to be implemented. This is the reason why we do have standards and follow them.
Activity
jratike80 commentedon Nov 14, 2023
Please clarify what you mean with parameters. By the WMS standard:
It means that by the standard only "WMS" should be accepted as a service name, but
&SerVICe=WMSis OK. Most, but not all, WMS servers accept also "wms".Do you know some client that does not follow the standard? Or does MapCache change some parameter values into upper case?
Amither113 commentedon Nov 14, 2023
Yes, I have encountered WMS services that do not follow the standard, when I use
&service=wmsI can request successfully, but not when&SERVICE=WMS.jratike80 commentedon Nov 14, 2023
The primary action would be to ask if they could make a fix on their side. It also fits with the robustness principle https://en.wikipedia.org/wiki/Robustness_principle.
marisn commentedon Dec 5, 2023
There are infinitely many ways how a non-conformant server can behave and thus it is impossible to support non-conformant servers as infinitely many workarounds would have to be implemented. This is the reason why we do have standards and follow them.