python-django-cors-headers

Edit Package python-django-cors-headers

A Django App that adds CORS (Cross-Origin Resource Sharing) headers to
responses.

Refresh
Refresh
Source Files
Filename Size Changed
django-cors-headers-4.4.0.tar.gz 0000031028 30.3 KB
python-django-cors-headers.changes 0000006839 6.68 KB
python-django-cors-headers.spec 0000001943 1.9 KB
Revision 30 (latest revision is 35)
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 30)
- update to 4.4.0:
  * Support Django 5.1.
  * Fixed ASGI compatibility on Python 3.12. Thanks to Adrian
    Capitanu for the report in Issue #908 and Rooyal in PR #911.
  * Avoid adding the access-control-allow-credentials header to
    unallowed responses.
  * Drop Python 3.7 support.
  * Support Python 3.12.
  * Add CORS_ALLOW_PRIVATE_NETWORK setting, which enables support
    for the Local Network Access draft specification. Thanks to
    Issac Kelly in PR #745 and jjurgens0 in PR #833.
  * Switch from urlparse() to urlsplit() for URL parsing,
    reducing the middleware runtime up to 5%. This changes the
    type passed to origin_found_in_white_lists(), so if you have
    subclassed the middleware to override this method, you should
    check it is compatible (it most likely is). Thanks to Thibaut
    Decombe in PR #793.
Comments 0
openSUSE Build Service is sponsored by