I needed this to check whether request is API or not in Sso::Apache. I could hack around with ```.send``` but I don't see why keep it private.