#31082: New `Content-Disposition: inline` header in FileResponse causing issues 
on
Safari
-----------------------------------------+------------------------
               Reporter:  David Evans    |          Owner:  nobody
                   Type:  Uncategorized  |         Status:  new
              Component:  HTTP handling  |        Version:  3.0
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 Django 3.0 [https://code.djangoproject.com/ticket/30196 introduced] a new
 default `Content-Disposition: inline` header on FileResponse instances.
 I've had reports that Safari is unable to load JavaScript files served
 with this header. Issue [https://github.com/evansd/whitenoise/issues/241
 #241] explains in more detail and links to a reproducing example. (I don't
 have access to Apple hardware right now so I'm unable to add any detail
 myself.)

 I've been able to
 
[https://github.com/evansd/whitenoise/commit/93657cf88e14b919cb726864814617a6a639e507
 work around] this easily enough in WhiteNoise, but I thought it was worth
 reporting in case it causes issues elsewhere.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31082>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/049.37e4277378bb303227e921ab07fd2d6a%40djangoproject.com.

Reply via email to