Hello Are you familiar with C++? Redirection can be easily handled with it.
2016-03-21 12:09 GMT+03:00 Omer Akram <omer.ak...@canonical.com>: > Hi! > > I am writing a soundcloud client and the issue I am seeing right now is > that the response with 302 status is automatically redirected, this is fine > in most cases but for me, it ends up downloading the whole track to some > unknown location. I don't want that since I want to stream the track and > not download it completely before playing it. > > I googled around and came across this[1]. What alternatives do I have ? > Shall I implement the internet part in c++ or is there an alternative > to XMLHttpRequest which does not redirect 302 responses ? > > NB: I am not an expert of JS, rather a newbie. > > Thanks! > > [1] > http://stackoverflow.com/questions/228225/prevent-redirection-of-xmlhttprequest > > -- > Mailing list: https://launchpad.net/~ubuntu-phone > Post to : ubuntu-phone@lists.launchpad.net > Unsubscribe : https://launchpad.net/~ubuntu-phone > More help : https://help.launchpad.net/ListHelp > >
-- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp