Hey Ryan,
sorry, I was gone for the past 2 days. The patch you pushed doesn't
seem to resolve the issue I'm experiencing. However, if you apply the
test below to test-http.js you should be able to reproduce the issue.
-- Felix Geisendörfer aka the_undefined
From 2f4a2ea4bb1cb2886a71de09f45e506807cffe40 Mon Sep 17 00:00:00 2001
From: Felix Geisendörder <
fe...@debuggable.com>
Date: Sat, 8 Aug 2009 15:06:30 -0400
Subject: [PATCH] Demonstrate node.http.ServerRequest.setBodyEncoding
('ascii') still no working
---
test/mjsunit/test-http.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/test/mjsunit/test-http.js b/test/mjsunit/test-http.js
index 83c8a36..94a1905 100644
--- a/test/mjsunit/test-http.js
+++ b/test/mjsunit/test-http.js
@@ -34,7 +34,7 @@ function onLoad () {
req.finish(function (res) {
assertEquals(200, res.statusCode);
responses_recvd += 1;
- res.setBodyEncoding("utf8");
+ res.setBodyEncoding("ascii");
res.addListener("body", function (chunk) { body0 += chunk; });
node.debug("Got /hello response");
});
--
1.6.0.4