OpenCageData / perl-Geo-Coder-OpenCage

Perl module for the OpenCage geocoding API
https://metacpan.org/pod/Geo::Coder::OpenCage
5 stars 3 forks source link

Sort URL parameters #12

Closed mtmail closed 1 year ago

mtmail commented 3 years ago

In logfiles I see

https://api.opencagedata.com/geocode/v1/json/?key=52[...]0f&limit=1&language=en&no_annotations=1&q=52.358460%2C4.881337
https://api.opencagedata.com/geocode/v1/json/?key=52[...]0f&no_annotations=1&q=55.969170%2C12.542300&limit=1&language=en

The slash after json should be removed. The parameters should be sorted for better cache-ability (at least those who cache by URL).

freyfogle commented 3 years ago

should be solved in v0.31 https://metacpan.org/release/EDF/Geo-Coder-OpenCage-0.31