You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import { default as express } from "npm:[email protected]";
const app = express();
const port = 3000;
app.get("/", (req, res) => {
res.header("set-cookie", ["test1=1; Path=/;", "test2=2; Path=/;"]);
res.send("Hello World!");
});
When I open localhost:3000, I see set-cookie: test1=1; Path=/;,test2=2; Path=/; in the response headers. This causes only the first one (test1) to be set, while test2 is ignored.
The expected result would be 2 set-cookie headers in the response:
When I open
localhost:3000
, I seeset-cookie: test1=1; Path=/;,test2=2; Path=/;
in the response headers. This causes only the first one (test1
) to be set, whiletest2
is ignored.The expected result would be 2
set-cookie
headers in the response:Doing the exact same thing using Node v18.17.0 produces the expected result.
Version: Deno 1.41.3
The text was updated successfully, but these errors were encountered: