download_strategy: make sure the inspected url is used
download_strategy: make sure the inspected url is used

Closes Homebrew/homebrew#40940.

Signed-off-by: Xu Cheng <9a05244150b861e40c78843b801eed71bca54eac@me.com>

MikeMcQuaid/brew,gordonmcshane/homebrew,konqui/brew,maxim-belkin/brew,reitermarkus/brew,mistydemeo/homebrew,vitorgalvao/brew,rwhogg/brew,aw1621107/brew,JCount/brew,gregory-nisbet/brew,claui/brew,rwhogg/brew,EricFromCanada/brew,MikeMcQuaid/brew,MikeMcQuaid/brew,mgrimes/brew,claui/brew,nandub/brew,konqui/brew,DomT4/brew,Linuxbrew/brew,tonyg/homebrew,tonyg/homebrew,mahori/brew,hanxue/linuxbrew,Homebrew/brew,toonetown/homebrew,palxex/brew,DomT4/brew,vitorgalvao/brew,tonyg/homebrew,amar-laksh/brew_sudo,AnastasiaSulyagina/brew,sjackman/homebrew,claui/brew,Homebrew/brew,mistydemeo/homebrew,mgrimes/brew,reitermarkus/brew,reitermarkus/brew,zmwangx/brew,AnastasiaSulyagina/brew,AnastasiaSulyagina/brew,mahori/brew,staticfloat/brew,zmwangx/brew,bfontaine/brew,maxim-belkin/brew,toonetown/homebrew,amar-laksh/brew_sudo,EricFromCanada/brew,sjackman/homebrew,JCount/brew,nandub/brew,amar-laksh/brew_sudo,jmsundar/brew,MikeMcQuaid/brew,gordonmcshane/homebrew,nandub/brew,jmsundar/brew,mistydemeo/homebrew,staticfloat/brew,claui/brew,muellermartin/dist,aw1621107/brew,reelsense/brew,muellermartin/dist,muellermartin/dist,hanxue/linuxbrew,bfontaine/brew,pseudocody/brew,alyssais/brew,mahori/brew,Homebrew/brew,bfontaine/brew,ilovezfs/brew,vitorgalvao/brew,staticfloat/brew,pseudocody/brew,alyssais/brew,konqui/brew,rwhogg/brew,jmsundar/brew,Linuxbrew/brew,sjackman/homebrew,ilovezfs/brew,gregory-nisbet/brew,maxim-belkin/brew,ilovezfs/brew,reitermarkus/brew,aw1621107/brew,mahori/brew,EricFromCanada/brew,Linuxbrew/brew,reelsense/brew,zmwangx/brew,pseudocody/brew,DomT4/brew,palxex/brew,EricFromCanada/brew,alyssais/brew,gordonmcshane/homebrew,hanxue/linuxbrew,reelsense/brew,JCount/brew,sjackman/homebrew,JCount/brew,mgrimes/brew,gregory-nisbet/brew,toonetown/homebrew,konqui/brew,palxex/brew,nandub/brew,Homebrew/brew,DomT4/brew,Linuxbrew/brew,vitorgalvao/brew