How to detect 3XX redirect responses in XHR | Hacker News Reader