Side navigation
#14762 closed bug (notabug)
Opened February 06, 2014 05:56AM UTC
Closed February 24, 2014 03:55PM UTC
Not able to capture 302 redirect using ajax statusCode
Reported by: | learn.shiva@gmail.com | Owned by: | learn.shiva@gmail.com |
---|---|---|---|
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.
Attachments (0)
Change History (2)
Changed February 24, 2014 03:25PM UTC by comment:1
owner: | → learn.shiva@gmail.com |
---|---|
status: | new → pending |
Changed February 24, 2014 03:55PM UTC by comment:2
resolution: | → notabug |
---|---|
status: | pending → closed |
That's how XMLHttpRequest works. It transparently follows redirects: http://stackoverflow.com/questions/228225/prevent-redirection-of-xmlhttprequest
Can you provide a test case? Thanks.