Opened 10 years ago
Last modified 8 months ago
#24213 new New feature
RFC 2231 Section 4.1 is not implemented — at Version 5
Reported by: | Raúl Cumplido | Owned by: | Raúl Cumplido |
---|---|---|---|
Component: | HTTP handling | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | raulcumplido@…, Herbert Fortes, Ülgen Sarıkavak | Triage Stage: | Accepted |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Currently RFC 2231 Section 4 is implemented (there is a closed PR from me for a fix), but section 4.1 of the RFC is not implemented:
http://tools.ietf.org/html/rfc2231#section-4.1
Section 4.1 is about being able to have parameter continuation when combining Character Set and language Language headers:
Content-Type: application/x-stuff title*0*=us-ascii'en'This%20is%20even%20more%20 title*1*=%2A%2A%2Afun%2A%2A%2A%20 title*2="isn't it!"
Change History (5)
comment:1 by , 10 years ago
Cc: | added |
---|---|
Needs tests: | set |
Type: | Uncategorized → New feature |
comment:2 by , 10 years ago
comment:3 by , 10 years ago
Yes, this is exactly what we should implement. The status is still new so I'll expect someone to Accept it or close it :)
comment:4 by , 10 years ago
Component: | Uncategorized → HTTP handling |
---|---|
Needs tests: | unset |
Triage Stage: | Unreviewed → Accepted |
Here you go :-)
comment:5 by , 8 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
If I understand you correctly, this is already implemented in the stdlib email module:
See also https://hg.python.org/cpython/file/default/Lib/test/test_email/test_email.py#l5220 for relevant tests.