Comparing version 2.2.1 to 2.2.2
@@ -22,3 +22,3 @@ const { STATUS_CODES } = require('http'); | ||
const SET_COOKIE = 'Set-Cookie'; | ||
const SET_COOKIE = 'set-cookie'; | ||
@@ -57,3 +57,3 @@ function parseOptions(res, ...args) { | ||
if (Array.isArray(res.$cookies)) { | ||
res.setHeader(SET_COOKIE, res.$cookies.filter(Boolean).join('; ')); | ||
res.setHeader(SET_COOKIE, res.$cookies.filter(Boolean)); | ||
} | ||
@@ -60,0 +60,0 @@ |
{ | ||
"name": "pure-http", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "The simple web framework for Node.js with zero dependencies.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
31829