From 38a4e6e765a35875d1cffbd5ab9ed0407bc8afd3 Mon Sep 17 00:00:00 2001 From: hns Date: Fri, 6 Sep 2002 20:03:00 +0000 Subject: [PATCH] Append charset to contentType when externalizing (serializing) ResponseTrans objects. Without this, responses don't contain info about their encoding. --- src/helma/framework/ResponseTrans.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helma/framework/ResponseTrans.java b/src/helma/framework/ResponseTrans.java index e683b665..5c0b01ef 100644 --- a/src/helma/framework/ResponseTrans.java +++ b/src/helma/framework/ResponseTrans.java @@ -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);