Append charset to contentType when externalizing (serializing) ResponseTrans objects.
Without this, responses don't contain info about their encoding.
This commit is contained in:
parent
df0639c02f
commit
38a4e6e765
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue