javascript - Firebase functions doesn't return set-cookies header -


i know why when setting set-cookie header in firebase functions, doesn't show on browser's response headers when using firebase tools emulator.

exports.test = functions.https.onrequest((req, res) => {   res.setheader('authorization', 'bearer token')   res.setheader('set-cookie', ['__session=ninja'])   res.end() }) 


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -