Get http header path info on mobile detection middleware