short-circuiting

A middleware ending a request by writing the response itself instead of calling the next component.

In more detail

Static files, authentication failures and rate limiting short-circuit deliberately. Do it only with an intentional response that explains why the request stopped.

Related terms

Taught in

References