Quantcast
Channel: Questions in topic: "httpwebrequest"
Viewing all articles
Browse latest Browse all 190

WWW does not show Location in header response (302/Redirect)

$
0
0
There are some nice guides out there on how to manually handle redirects (HTTP code 302) using the Unity WWW class. See: http://answers.unity3d.com/questions/143863/doesnt-www-like-http-302-redirect.html http://forum.unity3d.com/threads/issues-with-wwwform-necessary-data-rewind-wasnt-possible.64152/ There's one thing though... when scanning the response headers for a 'Location' header it doesn't show? Using Fiddler (or WireShark) I can see that the response does indeed have this header: ![alt text][1] ..so using this piece of code in Unity I'm expecting to have it listed: ![alt text][2] But that is not the case. Here's the Unity console log (five headers found): - STATUS HTTP/1.1 302 Found - X-POWERED-BY Someone - CACHE-CONTROL private, no-cache, no-store, must-revalidate - EXPIRES -1 - PRAGMA no-cache Anyone have an idea? [1]: /storage/temp/63705-fiddler.jpg [2]: /storage/temp/63706-fiddler2.jpg

Viewing all articles
Browse latest Browse all 190

Trending Articles



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