EventStore/EventStore — pull request #10 by rcknight (2012-10-17 10:33:35+00:00)
Title: Http Options request implementation, and headers to allow CORS

As discussed on the group here:

https://groups.google.com/forum/?fromgroups=#!topic/event-store/B2dFYRz9qpo

I modified the HTTP server to send the required headers to support CORS requests from javascript, As well as adding support for OPTIONS requests (jquery sends these).

At the moment this is hard coded to allow requests from all domains (Access-control-allow-origin: *), it might be nicer to have a command line option to configure allowed domains?