Trailing slashes on /FeatureServer/ and /FeatureServer/:layerId/ lead to 400 errors; However, ArcGIS Server supports such requests and are equivalent to the same routes without the trailing slash. Some clients use such a call to determine if the resource is a feature service that supports ArcGIS REST API.
The PR adds a regex to properly route such requests.
Trailing slashes on
/FeatureServer/
and/FeatureServer/:layerId/
lead to 400 errors; However, ArcGIS Server supports such requests and are equivalent to the same routes without the trailing slash. Some clients use such a call to determine if the resource is a feature service that supports ArcGIS REST API.The PR adds a regex to properly route such requests.