- 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ò)協(xié)議工程
- 連接未來:從古登堡到谷歌的網(wǎng)絡(luò)革命
- 物聯(lián)網(wǎng)短距離無線通信技術(shù)應(yīng)用與開發(fā)
- 光網(wǎng)絡(luò)評估及案例分析
- 電子政務(wù)效益的經(jīng)濟分析與評價
- Hands-On Chatbot Development with Alexa Skills and Amazon Lex
- 物聯(lián)網(wǎng)安全與深度學習技術(shù)
- 網(wǎng)絡(luò)故障現(xiàn)場處理實踐(第4版)
- Force.com Development Blueprints
- 物聯(lián)網(wǎng)安全技術(shù)
- 物聯(lián)網(wǎng)通信技術(shù)
- Microsoft Dynamics CRM 2011 Applications(MB2-868) Certification Guide
- Bonita Open Solution 5.x Essentials
- Learning Windows 8 Game Development
- INSTANT LinkedIn Customization How-to