- Building RESTful Web services with Go
- Naren Yellavula
- 109字
- 2021-07-02 20:14:03
3xx family (redirection)
These status codes are used to convey redirection messages. The most important ones are 301 and 304:
- 301 is issued when a resource is moved permanently to a new URL endpoint. It is essential when an old API is deprecated. It returns the new endpoint in the response with the 301 status. By seeing that, the client should use the new URL in response to achieving its target.
- The 304 status code indicates that content is cached and no modification happened for the resource on the server. This helps in caching content at the client and only requests data when the cache is modified.
推薦閱讀
- CorelDRAW X6 中文版圖形設(shè)計(jì)實(shí)戰(zhàn)從入門(mén)到精通
- 數(shù)據(jù)通信網(wǎng)絡(luò)實(shí)踐:基礎(chǔ)知識(shí)與交換機(jī)技術(shù)
- RCNP實(shí)驗(yàn)指南:構(gòu)建高級(jí)的路由互聯(lián)網(wǎng)絡(luò)(BARI)
- Learning QGIS 2.0
- 計(jì)算機(jī)網(wǎng)絡(luò)與數(shù)據(jù)通信
- Building RESTful Web Services with Spring 5(Second Edition)
- 計(jì)算機(jī)網(wǎng)絡(luò)原理與應(yīng)用技術(shù)
- 區(qū)塊鏈輕松上手:原理、源碼、搭建與應(yīng)用
- 圖解手機(jī)元器件維修技巧
- jQuery Mobile Web Development Essentials
- Getting Started with nopCommerce
- TCP/IP基礎(chǔ)(第2版)
- SRv6網(wǎng)絡(luò)部署指南
- 區(qū)塊鏈技術(shù)與應(yīng)用:打造分布式商業(yè)新生態(tài)
- Cisco無(wú)線(xiàn)局域網(wǎng)配置基礎(chǔ)