Quantcast
Channel: Questions in topic: "cookies"
Viewing all articles
Browse latest Browse all 91

Workaround for SET-COOKIE bug in www.responseHeaders?

$
0
0
There is a bug in the way Unity handles the HTTP response headers. A typical HTTP response might look like this: HTTP/1.1 200 OK Content-Type: application/json Date: Sun, 19 Oct 2014 19:48:07 GMT Set-Cookie: session-data=a3izTzllfjmJvIAedFWH8_RF1VUoTVbszM-4KtITK8QBZwE Set-Cookie: AWSELB=8FCF616716267D5222A365F68CB5F524241ADC40F2A79E054E56BD41E6C10E5921CA9D8BE1291E904BD712CDA6EB211CD74D6780AE1E44EE07A58093B97B9C3AA5121EF17E09420E;PATH=/ transfer-encoding: chunked Connection: keep-alive However, since Unity parses this as a Dictionary, only one Set-Cookie header gets parsed. In other words, only one cookie will get through and the others will be ignored / removed. I submitted a bug report about this. In the meantime, does anyone know of a workaround?

Viewing all articles
Browse latest Browse all 91

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>