http3xx
Send HTTP 3xx redirections is node.js.
Written in CoffeeScript.
Installation
npm install http3xx
Usage
From the source:
These functions all accept a res argument, which is an http.ServerResponse
object. For those functions that accept a url argument, url is meant to be an absolute URI. Do not pass through a relative URI. Although it would likely work, that would be in violation of RFC 2616.
Example handlers
{ return http3xx;}; { return http3xx;}; { return http3xx;}; { return http3xx; // 304}; { return http3xx;}; { return http3xx;};