NXP-14226: fix typo in protected method name
NXP-14229: migrate detection of ajax requests to avoid redirection on post + avoid performing downloads