mozilla-services/cornice — pull request #260 by circlingthesun (2014-11-04 18:50:33+00:00)
Title: Fix warnings for the cors preflight view

The default cors preflight view always returns an empty string which is serialised to a quoted empty string. The regular expression at https://github.com/mozilla-services/cornice/blob/master/cornice/validators.py#L7 does not evaluate true for this case. Returning an empty object eliminates the xsrf warnings generated by the default filter.