Opened 9 years ago
Closed 9 years ago
#14762 closed bug (notabug)
Not able to capture 302 redirect using ajax statusCode
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.11.0-rc1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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
Owner: | set to [email protected]… |
---|---|
Status: | new → pending |
comment:2 Changed 9 years ago by
Resolution: | → notabug |
---|---|
Status: | pending → closed |
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.
Can you provide a test case? Thanks.