ocket8888 commented on issue #4007: Server Capability get by name - returns blank response array when the requested item doesn't exist URL: https://github.com/apache/trafficcontrol/issues/4007#issuecomment-544105747 This is a matter of opinion. The URI in question does exist, it's just that a list of all the server capabilities filtered by a non-existent name is an empty list. If a change was made to consider identifying fields special cases of filters that would cause a 404 error to be returned, it would need to be made globally, as this is the behavior of many (all?) endpoints. I think that'd be a fine change to make - so that it would match the behavior of other request methods - but I also don't think that what we're currently doing is extremely wrong.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
