node-is-redirect

Check if a number is a redirect HTTP status code

Description

The class of HTTP response status codes from 300 to 308 indicates the client must take additional action to complete the request. Many of these status codes are used in URL redirection. A user agent may carry out the additional action with no user interaction only if the method used in the second request is GET or HEAD. A user agent may automatically redirect a request. A user agent should detect and intervene to prevent cyclical redirects. From this package you can check if the number is a redirect HTTP status code.

This package is a dependency of ava.

Node.js is an event-based server-side JavaScript engine.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/sindresorhus/is-redirect


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install node-is-redirect