Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8FC4A19B15 for ; Fri, 29 Apr 2016 18:44:31 +0000 (UTC) Received: (qmail 28105 invoked by uid 500); 29 Apr 2016 18:44:28 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 28044 invoked by uid 500); 29 Apr 2016 18:44:28 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 28033 invoked by uid 99); 29 Apr 2016 18:44:28 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Apr 2016 18:44:28 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id B85CDC0227 for ; Fri, 29 Apr 2016 18:44:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.733 X-Spam-Level: X-Spam-Status: No, score=0.733 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, NO_RDNS_DOTCOM_HELO=0.433, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_HDRS_LCASE=0.01, T_MANY_HDRS_LCASE=0.01] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id FomxDJ37RY72 for ; Fri, 29 Apr 2016 18:44:26 +0000 (UTC) Received: from vms173015pub.verizon.net (vms173015pub.verizon.net [206.46.173.15]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 642D85FB0A for ; Fri, 29 Apr 2016 18:44:26 +0000 (UTC) Received: from vz-proxy-m006.mx.aol.com ([64.236.83.10]) by vms173015.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0O6E007OXS1QR910@vms173015.mailsrvcs.net> for users@tomcat.apache.org; Fri, 29 Apr 2016 13:44:19 -0500 (CDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=WcjxEBVX c=1 sm=1 tr=0 a=pKq81LsWol7b8sI3Hpopew==:117 a=IkcTkHD0fZMA:10 a=kziv93cY1bsA:10 a=G1e_EEWmHQKKbWWN97kA:9 a=QEXdDO2ut3YA:10 Received: by 71.127.40.115 with SMTP id 2a85d19f; Fri, 29 Apr 2016 18:44:19 GMT To: Tomcat Users List From: Christopher Schultz Subject: Character set for accept-charset and accept-content-type HTTP headers? Message-id: <5723AB80.2080300@christopherschultz.net> Date: Fri, 29 Apr 2016 14:44:16 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit All, I've been doing a bit of searching and I just think I haven't found the right path at this point. There are only about 4000 specifications that all overlap and refer to each other, here. I'm looking for a reference that proves my expectation that the values of the "accept-charset" and "accept-content-type" HTTP headers are always restricted to the US-ASCII character set. Basically, I have a method that checks to see that the client supports certain things, and I need to "lower-case" the values to check them appropriately. I'd like to use US-ASCII as the "lower-casing" rules, but I want to be sure there's no weird corner case where US-ASCII lower-case semantics are going to bite me in the behind. Does anyone know where the charset used for those values is specified? Thanks, -chris --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org