- Building RESTful Web services with Go
- Naren Yellavula
- 162字
- 2021-07-02 20:14:03
5xx family (server error)
These are the errors from the server. The client request may be perfect, but due to a bug in the server code, these errors can arise. The commonly used status codes are 500, 501, 502, 503, and 504:
- 500 (Internal Server Error) status code gives the development error which is caused by some buggy code or some unexpected condition
- 501 (Not Implemented) is returned when the server is no longer supporting the method on a resource
- 502 (Bad Gateway) is returned when the server itself got an error response from another service vendor
- 503 (Service Unavailable) is returned when the server is down due to multiple reasons, like a heavy load or for maintenance
- 504 (Gateway Timeout) is returned when the server is waiting a long time for a response from another vendor and is taking too much time to serve the client
For more details on status codes, visit this link: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
推薦閱讀
- 網(wǎng)絡(luò)教育學(xué)習(xí)指導(dǎo)
- Mastering Machine Learning for Penetration Testing
- Learning Karaf Cellar
- 世界互聯(lián)網(wǎng)發(fā)展報(bào)告·2019
- 區(qū)塊鏈輕松上手:原理、源碼、搭建與應(yīng)用
- 城市治理一網(wǎng)統(tǒng)管
- Building RESTful Web services with Go
- 物聯(lián)網(wǎng)長(zhǎng)距離無(wú)線通信技術(shù)應(yīng)用與開(kāi)發(fā)
- CCNP TSHOOT(642-832)認(rèn)證考試指南
- 物聯(lián)網(wǎng)與智能家居
- Microsoft Power Platform Enterprise Architecture
- 精通SEO:100%網(wǎng)站流量提升密碼
- 小型局域網(wǎng)組建
- 現(xiàn)場(chǎng)綜合化網(wǎng)絡(luò)運(yùn)營(yíng)與維護(hù):運(yùn)營(yíng)商數(shù)字化轉(zhuǎn)型技術(shù)與實(shí)踐
- 數(shù)字王國(guó)里的虛擬人:技術(shù)、商業(yè)與法律解讀