./www/py-django-cors-headers, Django application for handling headers required for CORS

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.4.0, Package name: py27-django-cors-headers-2.4.0, Maintainer: pkgsrc-users

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.


Required to run:
[www/py-django] [devel/py-setuptools] [lang/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: a319cbe69970aff4af7980ac6c75b7f2dd7817a1
RMD160: 3f6b4bbf5e2a55aff60bd0937c332d3884b21dac
Filesize: 16.3 KB

Version history: (Expand)


CVS history: (Expand)


   2018-07-24 08:32:48 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
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-06 13:17:42 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
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-03-02 12:34:29 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
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-01-11 14:37:55 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
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.