---------- Forwarded message ----------
From: *Oleg Kalnichevski* <[email protected]>
Date: Sunday, August 27, 2017
Subject: Charset restriction on parameter names
To: HttpClient User Discussion <[email protected]>


On Sun, 2017-08-27 at 22:03 +0200, Philippe Mouawad wrote:
> Hello,
> I have a question regarding HTTP 1.1 and 2.0 and Multipart encoded
> form as
> I didn't find a clear answer in RFC https://tools.ietf.org/html/rfc75
> 78
>
> Is there a restriction on the charset of parameter names, in this
> case what
> is the encoding ?
>
> Example, can a parameter be named :
>
>    - 安_param
>
>
> Thanks.

Hi Philippe

As far as I can tell non-ASCII characters in parameter names are not
permitted based on RFC 2822, section 2.2

---
2.2. Header Fields

   Header fields are lines composed of a field name, followed by a colon
   (":"), followed by a field body, and terminated by CRLF.  A field
   name MUST be composed of printable US-ASCII characters (i.e.,
   characters that have values between 33 and 126, inclusive),

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
<javascript:;>
For additional commands, e-mail: [email protected]
<javascript:;>




-- 
Cordialement.
Philippe Mouawad.

Reply via email to