Open vkuznet opened 9 years ago
Hi, if I place the following URL https://cmsweb.cern.ch/phedex/datasvc/json/prod/blockreplicas/ with slash at the end I'll get 404 Not Found error: failed to initialize data service API 'blockreplicas/': error loading/compiling module
I think API should handles gracefully the slash. Please check other APIs too for this behavior.
The format is documented in https://github.com/dmwm/PHEDEX/blob/master/perl_lib/PHEDEX/Web/Core.pm#L16-L19 and implies no slash separating the path and query. This is true for all APIs.
Hi, if I place the following URL https://cmsweb.cern.ch/phedex/datasvc/json/prod/blockreplicas/ with slash at the end I'll get 404 Not Found error: failed to initialize data service API 'blockreplicas/': error loading/compiling module
I think API should handles gracefully the slash. Please check other APIs too for this behavior.