notebook/IPython/html/base
MinRK acf0da01d9 make CORS configurable
allows setting CORS headers.

- cors_origin sets Access-Control-Allow-Origin directly
- cors_origin_pat allows setting Access-Control-Allow-Origin via regular expression, since the header spec itself doesn’t support complex access[1]
- cors_credentials sets Access-Control-Allow-Credentials: true

To allow CORS from everywhere:

    ipython notebook —NotebookApp.cors_origin='*'
2014-06-27 17:47:56 -07:00
..
handlers.py make CORS configurable 2014-06-27 17:47:56 -07:00
zmqhandlers.py make CORS configurable 2014-06-27 17:47:56 -07:00