Hi,
I am trying to work out how to get a response from turbine (or tdk)
where the Content Language header is *not* set.
My changing the locale settings I find that I can change the Content
Language header:
locale.default.bundle=MyBundle
locale.default.language=ja
locale.default.country=JP
HTTP/1.1 200 OK
Content-Type: text/html; charset=SJIS
Date: Tue, 10 Dec 2002 01:54:20 GMT
Content-Language: ja-JP
Transfer-Encoding: chunked
Server: Apache Tomcat/4.0-b6-dev (HTTP/1.1 Connector)
however this has the unfortunate side effect of also adding a
Content-Type header.
Really what I would like is to be able to ensure that no
Content-Language or Content-Type headers were set at all.
I am trying to view output from Turbine on a Japanese cell phone and I
can view responses like this:
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Tue, 10 Dec 2002 00:40:45 GMT
Content-Type: text/html
Content-Length: 65
ETag: "65-1038973852966"
Last-Modified: Wed, 04 Dec 2002 03:50:52 GMT
but when Turbine adds a Content-Language header of any sort
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Tue, 10 Dec 2002 00:39:37 GMT
Connection: close
Content-Type: text/html
Content-Language: en-US
or
HTTP/1.1 200 OK
Content-Type: text/html; charset=SJIS
Server: Microsoft-IIS/5.0
Date: Tue, 10 Dec 2002 00:39:37 GMT
Connection: close
Content-Type: text/html
Content-Language: ja-JP
The Japanese characters do not render correctly.
Is there any way to avoid setting a Content-Language header? I find that
if I remove the locale settings from the Turbine.properties file then
the system defaults to en-US.
Any help very gratefully received.
CHEERS> SAM
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>