-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark,

Mark Thomas wrote:
> Check the HTTP spec. I am pretty sure (but haven't checked) that the
> headers must always be in ISO-8859-1.

The HTTP spec doesn't say: it points to RFC 822.

- From RFC 822, section 3.1.2:

"Once a field has been unfolded, it may be viewed as being com-
posed of a field-name followed by a colon (":"), followed by a
field-body, and  terminated  by  a  carriage-return/line-feed.
The  field-name must be composed of printable ASCII characters
(i.e., characters that  have  values  between  33.  and  126.,
decimal, except colon).  The field-body may be composed of any
ASCII characters, except CR or LF.  (While CR and/or LF may be
present  in the actual text, they are removed by the action of
unfolding the field.)"

So the fields themselves must be in ASCII. Since there's a provision for
encoding other stuff in ASCII (%-codes for URLs), you should be able to
do this.

Unfortunately, I can't find anywhere in the spec that says which
encoding to use in URLs for % HEX HEX encoding.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG97UL9CaO5/Lv0PARAto0AJ9mJAkUcDf4QXjRY0sBAiibNANBzACgqVMW
J6rdXmSpIVZd00QudmJuazY=
=2XqX
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to