I’m trying to use network.request with “GET” to access a shared file on Dropbox from inside my app. According to Dropbox this will work after a redirect. According to your documentation network.request handles redirects for me but it doesn’t seem to handle this one. I’m hoping you can give me some insight into why it isn’t handling the redirect which will help me solve the problem.
When I do the request, instead of getting the file data I get this passed to my return function:
\<html\> \<head\>\<title\>Found\</title\>\</head\> \<body\> \<h1\>Found\</h1\> \<p\>The resource was found at \<a href="https://dl.dropboxusercontent.com/content\_link/blahblahblah?dl=1"\>https://dl.dropboxusercontent.com/content\_link/blahblahblah?dl=1\</a\>; you should be redirected automatically. \<!-- --\>\</p\> \<hr noshade\> \<div align="right"\>WSGI Server\</div\> \</body\> \</html\>