Commit graph

4 commits

Author SHA1 Message Date
adam
010f3c1eb9 py-django-cors-headers: updated to 2.4.0
2.4.0:
Always add 'Origin' to the 'Vary' header for responses to enabled URL's, to prevent caching of responses intended for one origin being served for another.
2018-07-24 06:32:48 +00:00
adam
3b26564ee2 py-django-cors-headers: updated to 2.3.0
2.3.0:
Match CORS_URLS_REGEX to request.path_info instead of request.path, so the patterns can work without knowing the site's path prefix at configuration time.
2018-07-06 11:17:42 +00:00
adam
c2195be2fb py-django-cors-headers: updated to 2.2.0
2.2.0:
Django 2.0 compatibility. Again there were no changes to the actual library code, so previous versions probably work.
Ensured that request._cors_enabled is always a bool() - previously it could be set to a regex match object.
2018-03-02 11:34:29 +00:00
adam
00288bc06b py-django-cors-headers: added version 2.1.0
django-cors-headers is a Django App that adds CORS (Cross-Origin Resource
Sharing) headers to responses.

Although JSON-P is useful, it is strictly limited to GET requests. CORS builds
on top of XmlHttpRequest to allow developers to make cross-domain requests,
similar to same-domain requests.
2018-01-11 13:37:54 +00:00