News for hackers. Stuff that matters.
Re:I've been abusing HTTP Status Codes in my APIs for years by jehlakj on Wednesday July 13, 2022 @10:13AM (#32083016)
Maybe I'm not understanding this, but wouldn't network issues take priority naturally? For example, if there's a problem with a database connection, you'd return 500. How would you know if the resource even exists?
Re:I've been abusing HTTP Status Codes in my APIs for years by treis on Wednesday July 13, 2022 @10:18AM (#32083089)
Network issues between the client and the server.
Re:I've been abusing HTTP Status Codes in my APIs for years by NoGravitas on Wednesday July 13, 2022 @11:39AM (#32084190)
Those will never return a 404, though.
Re:I've been abusing HTTP Status Codes in my APIs for years by treis on Wednesday July 13, 2022 @11:49AM (#32084370)
If your DNS server has the wrong IP for a URL it will.