http-server
http-server copied to clipboard
Allow to create cookies that are not base64 encoded
Hey! 👋🏻
This PR adds the possibility to create plainCookie without encoding them to base64 before saving them.
response.plainCookie('name', 'romain', { encode: false })
This can be useful when you are creating the cookie for third-party services that do not expect base64 cookies.