Application of HTTP response – 302304 code

Time:2021-5-11

Basic structure

 

 

Description of status code

 

 

302

 

 

Results of packet capture

 

If the cache is not clear, visit a.php for the second time, and the result is as follows

 

 

302 status code can also jump to the Internet

 

304 tells the browser that the resource has not been modified and does not need to be retrieved

 

First visit results

 

 

Second visit