Jonathan Kingston 11/8/2013

Give the world back FollowRedirects XMLHttpRequest

Read Original

This technical article discusses a key frustration in AJAX development: the browser's automatic following of HTTP redirects hides the redirection from the client-side JavaScript. The author explains why this is problematic for handling content types, API changes, and locale redirects, and traces the history of the 'followRedirects' property in specifications. It proposes that enabling native detection of redirects would simplify client-side application logic.

Give the world back FollowRedirects XMLHttpRequest

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week