Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> javascript >> node-is-redirect
aramo  ]
[ 原始碼: node-is-redirect  ]

套件: node-is-redirect (1.0.0-2)

Check if a number is a redirect HTTP status code

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.

下載 node-is-redirect

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 3.4 kB14 kB [文件列表]