#16470: RFC6266 Support
---------------------------------------+-------------------------------
               Reporter:  mnot@…       |          Owner:  nobody
                   Type:  New feature  |         Status:  new
              Milestone:               |      Component:  HTTP handling
                Version:  1.3          |       Severity:  Normal
             Resolution:               |       Keywords:
           Triage Stage:  Accepted     |      Has patch:  0
    Needs documentation:  0            |    Needs tests:  0
Patch needs improvement:  0            |  Easy pickings:  0
                  UI/UX:  0            |
---------------------------------------+-------------------------------

Comment (by anonymous):

 Mark had discussed this with me over twitter/email a couple days ago.
 He's got an example implementation here:
 https://github.com/mnot/sweet/blob/master/lib/index.js

 I was thinking of trying to keep the existing API of dict key/value as
 header/value pair, but having `__setitem__` do some special-casing on
 Content-Disposition.  This would allow do something sensible for all
 existing code, and we could still add an extra method if people wanted
 finder control over the fallback filename.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16470#comment:3>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to