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

Made the set_cors_headers method in core.py compatible with resp.head… #172

Merged
merged 3 commits into from Aug 17, 2016

Commits on Aug 16, 2016

  1. Made the set_cors_headers method in core.py compatible with resp.head…

    …ers objects that are standard python dicts, by copying the underlying data into a new MultiDict.
    BillBrower committed Aug 16, 2016
    Copy the full SHA
    b45aa4a View commit details
    Browse the repository at this point in the history
  2. Simplified the non MultiDict workaround in the set_cors_headers metho…

    …d in core.py and made it more pythonic.
    BillBrower committed Aug 16, 2016
    Copy the full SHA
    d1251b4 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2016

  1. Added test coverage for overridden response headers and modified the …

    …set_cors_headers method in core.py to respect Werkzeug Headers objects as well (because they allow repeated values and some of the pre-existing tests use them).
    BillBrower committed Aug 17, 2016
    Copy the full SHA
    989fced View commit details
    Browse the repository at this point in the history