When looking up the projection details for a code that does not exist, the user receives a HTML page containing the error code and text, but the actual HTTP headers return 200 OK.
Example: https://epsg.io/1.proj4, which returns 500: Internal Server Error in the HTML but 200 OK in the response headers.
This is problematic for software that tries to retrieve the information programmatically, like OpenLayers.
When looking up the projection details for a code that does not exist, the user receives a HTML page containing the error code and text, but the actual HTTP headers return
200 OK
.Example: https://epsg.io/1.proj4, which returns
500: Internal Server Error
in the HTML but200 OK
in the response headers.This is problematic for software that tries to retrieve the information programmatically, like OpenLayers.