Bug Tracker

Opened 9 years ago

Closed 9 years ago

#14762 closed bug (notabug)

Not able to capture 302 redirect using ajax statusCode

Reported by: [email protected] Owned by: [email protected]
Priority: undecided Milestone: None
Component: unfiled Version: 1.11.0-rc1
Keywords: Cc:
Blocked by: Blocking:


I'm not able to capture 302 redirect using Ajax statusCode. I see that ajax redirect follows redirect and gives out 200 ok.

Change History (2)

comment:1 Changed 9 years ago by dmethvin

Owner: set to [email protected]
Status: newpending

Can you provide a test case? Thanks.

comment:2 Changed 9 years ago by jaubourg

Resolution: notabug
Status: pendingclosed

That's how XMLHttpRequest works. It transparently follows redirects: http://stackoverflow.com/questions/228225/prevent-redirection-of-xmlhttprequest

Note: See TracTickets for help on using tickets.