Give the world back FollowRedirects XMLHttpRequest
Read OriginalThis 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.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser