iphone - meta http-equiv="Refresh" and NSURLConnection -


I have a URL that contains a meta redirect as follows:

   - (zero) connection diffinition loading: (NSURLConnection *) connection  simply returns initial data from the first URL. 

Is it now my responsibility to parse the returned HTML file and extract the Meta URL feature and call the NSRR connection again? Or is there any better way?

How safe is this approach?

It would probably be better to use an alternative redirection method, but for now, it is only open to me ...

If the UIWebView displays it, you refuse to do it in HTML and you do not intend to do this, it is most important that you parsing the HTML and that Take action (if you want to handle the redirect).

There is an easy-to-use HTTP response in order to keep redirects - This requires a bit more server access, but most of the hosting locations will let you do this.


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -