hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sermojohn <...@git.apache.org>
Subject [GitHub] httpcomponents-client issue #85: HTTPCLIENT-293 Fix proposal based on RFC 75...
Date Sat, 30 Sep 2017 18:51:23 GMT
Github user sermojohn commented on the issue:

    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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message