Skip to content

Commit

Permalink
possible fix for POST character encoding http://forum.yacy-websuche.d…
Browse files Browse the repository at this point in the history
  • Loading branch information
danielr committed Sep 7, 2008
1 parent a2eeb61 commit cf29ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/de/anomic/http/httpdProxyHandler.java
Expand Up @@ -1120,7 +1120,7 @@ public static void doPost(final Properties conProp, final httpRequestHeader requ
if(isBinary(responseHeader)) {
serverFileUtils.copy(res.getDataAsStream(), outStream);
} else {
writeTextContent(res, new BufferedWriter(new OutputStreamWriter(outStream)));
writeTextContent(res, new BufferedWriter(new OutputStreamWriter(outStream, responseHeader.getCharSet())));
}

if (chunked != null) {
Expand Down

0 comments on commit cf29ca1

Please sign in to comment.