Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gateway: add support for HTTP OPTIONS request type #2232

Merged
merged 2 commits into from
Jan 24, 2016
Merged

Gateway: add support for HTTP OPTIONS request type #2232

merged 2 commits into from
Jan 24, 2016

Commits on Jan 21, 2016

  1. Gateway: add support for HTTP OPTIONS request type

    OPTIONS is a noop request that is used by the browsers
    to check if server will accept cross-site XMLHttpRequest
    (indicated by the presence of CORS headers)
    
    Before this fix user could enable CORS headers in the Gateway config,
    but XHR failed due to the lack of support for OPTIONS request type
    (as described in https://git.io/vzgGe)
    
    License: MIT
    Signed-off-by: Marcin Rataj <lidel@lidel.org>
    lidel committed Jan 21, 2016
    Configuration menu
    Copy the full SHA
    8651143 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2016

  1. CORS header tests for Gateway

    - Implements
      #2232 (comment)
    - Separate test suite:
        - we don't want to pollute other gateway tests with CORS headers
        - (as of now) changing headers requires daemon restart anyway
    
    License: MIT
    Signed-off-by: Marcin Rataj <lidel@lidel.org>
    lidel committed Jan 22, 2016
    Configuration menu
    Copy the full SHA
    15d717c View commit details
    Browse the repository at this point in the history