Module

isPermanentRedirect

Validate HTTP Status code 308 type REDIRECTION

Parameters:
Name Type Description
statusCode Integer

The HTTP Status code

View Source redirection/is-permanent-redirect.js, line 3

When the statusCode is different then 308

HTTPStatusError
Boolean