senchalabs/connect — pull request #555 by thomasdavis (2012-05-02 11:02:17+00:00)
Title: Added support to csrf middle-ware for pre-flighted CORS request

Hi there,
when using CORS, some browsers send a pre-flighted request with a request method called 'OPTIONS'.

This commit simply allows the csrf middle ware to allow the OPTIONS method.