harthur/bz.js — pull request #2 by Pike (2011-12-07 14:55:24+00:00)
Title: Avoid request headers for GET, be fast in CORS

If one isn't very lax about the headers to send with requests, CORS goes into a preflight mode, sending an OPTION request for every real request.

At least for GET, we don't need this, and this makes bzhome query bzapi half as much.

https://developer.mozilla.org/En/HTTP_access_control