Append charset to contentType when externalizing (serializing) ResponseTrans objects.

Without this, responses don't contain info about their encoding.
This commit is contained in:
hns 2002-09-06 20:03:00 +00:00
parent df0639c02f
commit 38a4e6e765

View file

@ -438,7 +438,7 @@ public final class ResponseTrans implements Externalizable {
}
public void writeExternal (ObjectOutput s) throws IOException {
s.writeObject (contentType);
s.writeObject (getContentType()); // append charset to contentType
s.writeObject (response);
s.writeObject (redir);
s.writeObject (cookieKeys);