Github user sermojohn commented on the issue:

    https://github.com/apache/httpcomponents-client/pull/85
  
    Only the filename parameter of the Content-Disposition field is currently 
encoded, because it is defined by the specification (RFC 7578) that should 
support non US-ASCII characters. The other parameters, "name" (in 
Content-Disposition) and "charset" (in Content-Type) should only contain 
US-ASCII characters.
    
    I could modify the code that creates the "charset" parameter of 
Content-Type field, but I noticed that this field always appears without quotes 
around the value, which makes it a bit incompatible with the handling of the 
Content-Disposition parameters that always appear quoted. So, I believe I 
should avoid changing that code, as it also seems irrelevant with the current 
fix. Hope you agree.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to