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

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -