Examples that pass the hint

Response with the status code 403 and the body over 256 bytes:

HTTP/... 500 Internal Server Error...

<!doctype html><htmllang="en"><head><metacharset="utf-8"><title>HTTP 403 - Forbidden</title></head><body><h1>HTTP 403 - Forbidden</h1><p>......................................................................</p><p>This page has over 256 bytes, so it will be displayed by all browsers.</p><p>......................................................................</p><p>......................................................................</p></body></html>

Response with the status code 500 and the body over 512 bytes:

HTTP/... 500 Internal Server Error...

<!doctype html><htmllang="en"><head><metacharset="utf-8"><title>HTTP 500 - Internal Server Error</title></head><body><h1>HTTP 500 - Internal Server Error</h1><p>......................................................................</p><p>This page has over 512 bytes, so it will be displayed by all browsers.</p><p>......................................................................</p><p>......................................................................</p></body></html>

How to use this hint?

To use it you will have to install it via npm:

npm install @hint/hint-no-friendly-error-pages

Note: You can make npm install it as a devDependency using the
--save-dev parameter, or to install it globally, you can use the
-g parameter. For other options see npm's
documentation.