3 ms·
After looking at magic getopt yesterday I noticed Colin Percival's "The HTTP 500 Soltion" article: http://www.daemonology.net/blog/2015-11-27-the-HTTP-500-solut
by joveian 11y ago
After looking at magic getopt yesterday I noticed Colin Percival's "The HTTP 500 Soltion" article:
http://www.daemonology.net/blog/2015-11-27-the-HTTP-500-solution.html http://www.daemonology.net/blog/2015-11-27-the-HTTP-500-solu...
I tend to agree with that and even more so looking at these flow charts. Complex error handling is an easy source of bugs. At the very least, return codes should be limited to the minimum information needed to prompt the desired action in browsers, proxies, and search engines.