Task: Detecting HTTP Redirects in AJAX Requests
Task: Detecting HTTP Redirects in AJAX Requests: a task in Terminal-Lego-15k (Harbor dataset). Create a solution that demonstrates how to detect HTTP 302 redirects in AJAX requests without automatically following them. The standard browser behavior and jQuery's $.ajax automatically follows…
The task
Create a solution that demonstrates how to detect HTTP 302 redirects in AJAX requests without automatically following them. The standard browser behavior and jQuery's `$.ajax` automatically follows redirects, making it difficult to detect when a redirect has occurred.
Part of PrimeIntellect/Terminal-Lego-15k.