• CORS handling triggered whether User-Agent is a browser or not

    This commit ensures that if CORS is enabled, then Origin headers are
    checked regardless of whether the request came from a browser or not.
    In the past, we only proceeded with CORS checks if the User-Agent was a
    browser.
    Ali Beyad
    Ali Beyad committed May 11, 2016