Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jaywalk
on June 23, 2022
|
parent
|
context
|
favorite
| on:
Hardening the registers: A cascading failure of ed...
I think a better solution would be to use the 404 code but include a body with the detailed error. That way the response to an invalid URL looks different from an actual item not being found.
hn_throwaway_99
on June 23, 2022
[–]
But many clients don't even look at the body if the response is a 404.
jaywalk
on June 23, 2022
|
parent
[–]
True, but we're talking about fully internal systems here, where one party is in control of both the client and server.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: