danielwhite/cowboy_cors — pull request #9 by danielwhite (2013-11-02 15:42:13+00:00)
Title: Add `max_age/2` callback for cross-origin policies

This allows the `Access-Control-Max-Age` header to be set in the
response to a preflight request. The return value of this callback
must be a non-negative integer or 'undefined'.