程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Common response codes for django backends

編輯:Python

1. Common request methods


Delete, options, put, patch, get, post

2.Response code


100 The server received the request and the user needs to continue to operate, for example: a request is made, but the user needs to continue to enter the password

101 Convert the protocol according to client requirements
200 The request is successful, the server successfully processed the request

202 Request has been accepted, but has not been processed
300 Request Redirect

303 The corresponding current demand needs to be found in another url address, which address the client accesses through the get request method

400 Client Error

403 The server understood the request, but rejected the user's request, CSRF
404 Page not found
500 Server error

502 bad gateway server error, there is a problem with the proxy
———————————————


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved