Website returns 302 instead of 200

前端 未结 6 910
深忆病人
深忆病人 2021-02-07 23:38

Well this one freaks me out. I used a Http Header check tool to check the headers of my webpage and guess what. In every request the response was 302 instead of 200.

         


        
6条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-08 00:01

    It's possible that you forgot to add a final slash to the end of your URL. Most webservers will redirect you to the "canonical" location that includes the slash. If you include the slash, you may get the response you're looking for.

提交回复
热议问题