Opened 11 years ago
Last modified 20 months ago
#24213 new New feature
RFC 2231 Section 4.1 is not implemented
| Reported by: | Raúl Cumplido | Owned by: | |
|---|---|---|---|
| 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 (9)
comment:1 by , 11 years ago
| Cc: | added | 
|---|---|
| Needs tests: | set | 
| Type: | Uncategorized → New feature | 
comment:2 by , 11 years ago
comment:3 by , 11 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 , 11 years ago
| Component: | Uncategorized → HTTP handling | 
|---|---|
| Needs tests: | unset | 
| Triage Stage: | Unreviewed → Accepted | 
Here you go :-)
comment:5 by , 9 years ago
| Description: | modified (diff) | 
|---|
comment:6 by , 7 years ago
| Cc: | added | 
|---|
comment:7 by , 4 years ago
| Owner: | removed | 
|---|---|
| Status: | new → assigned | 
comment:8 by , 4 years ago
| Status: | assigned → new | 
|---|
comment:9 by , 20 months ago
| Cc: | added | 
|---|
  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.