3 ms·
As a Service Provider, the ambiguity of 404's we return is purposeful given that callers can be adversarial. All of these borked protocols were designed when w
by EdSharkey 4y ago
As a Service Provider, the ambiguity of 404's we return is purposeful given that callers can be adversarial. All of these borked protocols were designed when we were all young and naive and all was peace and love. We have to live with them and deal with them as they are.
If you care about your callers and they're internal trusted partners, you can return a traceId header they can use to diagnose the 404 to find out if the request was malformed somehow or the requested ID was truly missing or something else bad happened. Splunk can be a pretty rad thing when everyone is on the OpenTelemetry bandwagon. Otherwise, assume the caller is evil and treat them accordingly.