tailieunhanh - AJAX toàn tập part 9

Bài 19 : gửi các requesr và xửa lý reponse - Giao thức HTTP một phần rất quan trọng của HTTP respone là tạo mã trạng thái - status code. Mã này xác định xem yêu casuf của client có được thực hiện thành công hay không và cung cấp thêm thông tin request | AJAX - Tương lai của Web AJAXTư OTO Jạ i- C-Ủ a_ IÏ c KI We b Bài 19 ỉửi các request và xử lý response Giao thức HTTP Status Code Một phân lất quan bọng của HTTP response là mã trạng thái - status code. Mã này xác định xem yêu câu của client có được thực hiện thành công hay không và cung cap thêm thông tin vê request. Mỗi giá trị status code là một sô ba kí tự. Sau dây là bảng các mã trạng thái HTTP. HTTP Status Code Class Code Description Ixx Informational 100 Continue 101 Switching Protocols 2xx Successful 200 OK 201 Created 202 Accepted 203 Non-Authoritative Information 204 No Content 205 Reset Content 206 Partial Content AJAX - Ttfong lai cua Web 3xx Redirection 300 Multiple Choices 301 Moved Permanently 302 Found 303 See Other 304 Not Modified 305 Use Proxy 306 unused 307 Temporary Redirect 4xx Client Error Collection by traibingo AJAX - Ttfong lai cua Web 400 Bad Request 401 Unauthorized 402 Payment Required 403 Forbidden 404 Not Found 40 5 Method Not Allowed 406 Not Acceptable 407 Proxy Authentication Required 408 Request Timeout 409 Conflict 410 Gone 411 Length Required 412 Precondition Failed 413 Request Entity Too Large 414 Request-URI Too Long 415 Unsupported Media .