>From what I see Locales need to be set in Ajp13 using >decoding stuff present (parseAcceptLanguage) in HttpProcessor >or in CoyoteRequest.java (parseLocalesHeaders). > >What's the preferred way ?
Or the better way could be to copy CoyoteRequest code. But there will be 3 copy of Accept-Language decoding in TC 4.x, may be it should be placed elsewhere and useable by HttpProcessor, CoyoteRequest and AJP13 (may be tomcat-util ?) While looking at the code, it appears to be a waste of time (and objects) to decode many of HTTP/headers (ie Locales for possible future getLocales() call). Could we have sometime in the future a Coyote HTTP/1.1 and AJP13 connectors, which won't process any headers or attributes before user or app want to. Regards -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>