http-decision-diagram icon indicating copy to clipboard operation
http-decision-diagram copied to clipboard

Override some HTTP statuses

Open andreineculau opened this issue 12 years ago • 2 comments

Some HTTP statuses may leak out information, so it's better to alter them.

While one can do so in override, maybe there should be a more specific way to override statuses just from the perspective of leaking out information.

andreineculau avatar May 23 '13 09:05 andreineculau

Example: 410 GONE instead of 404 NOT FOUND "leaks" out that there was indeed a resource at that URI, but not anymore. The latter may be preferred in some cases.

andreineculau avatar Oct 01 '13 11:10 andreineculau

FWIW most overrides would lead to an ambiguous 400 BAD REQUEST or 404 NOT FOUND

andreineculau avatar Oct 01 '13 11:10 andreineculau