lukearno/static — pull request #5 by peterlada (2014-05-08 05:07:14+00:00)
Title: Allow extra headers in Cling for easy CORS

Modified Cling.__call__ to accept an optional headers parameter. If supplied it should be a list of two-tuples of header name, value pairs.

This enables trivial implementation of CORS support for Cling, which is needed for Firefox as it disallows cross-domain requests for webfonts.