We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cce786 commit a7abb79Copy full SHA for a7abb79
test/unit/node/proxy.test.ts
@@ -187,6 +187,17 @@ describe("proxy", () => {
187
})
188
}).rejects.toThrow()
189
190
+
191
+ it("should proxy non-ASCII", async () => {
192
+ e.get("*", (req, res) => {
193
+ res.json("ほげ")
194
+ })
195
+ codeServer = await integration.setup(["--auth=none"], "")
196
+ const resp = await codeServer.fetch(proxyPath.replace("wsup", "ほげ"))
197
+ expect(resp.status).toBe(200)
198
+ const json = await resp.json()
199
+ expect(json).toBe("ほげ")
200
201
202
203
// NOTE@jsjoeio
0 commit comments