Module

isMovedPermanently

Validate HTTP Status code 301 type REDIRECTION

Parameters:
Name Type Description
statusCode Integer

The HTTP Status code

View Source redirection/is-moved-permanently.js, line 3

When the statusCode is different then 301

HTTPStatusError
Boolean