--
You received this message because you are subscribed to the Google Groups "Express" group.
To post to this group, send email to expre...@googlegroups.com.
To unsubscribe from this group, send email to express-js+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/express-js?hl=en.
https://github.com/antono/connect-cors
--
@masahiroh
On Tue, Dec 28, 2010 at 14:01, Subbu Allamaraju <su...@subbu.org> wrote:
> https://github.com/s3u/resource-router may work for you as it automatically
> adds support for OPTIONS based on the methods implemented for any given URI.
>
// ...
res.header('Access-Control-Allow-Origin', '*');
res.header('Access-Control-Allow-Credentials', true);
res.header('Access-Control-Allow-Methods', 'POST, GET, PUT, DELTE, OPTIONS');res.header('Access-Control-Allow-Headers', 'Content-Type');
// ...
--
DELETE
--
make haste slowly \
festina lente \
-
mobile +1_415_632_6001
cur...@robotarmyma.de
http://robotarmyma.de