Bạn đang xem: 200 ok
HTTP Status Code 200: The "OK" Response
An HTTP status code 200 means success. The client has requested documents from the server. The vps has replied to the client and given the client the documents. All is well.
You will rarely "see" this response out in the wild using a browser as a normal user. You would usually only see this response when you"re using a digital sale tool that shows you the status code specifically.
In general, you want khổng lồ see 200 requests. They are good!
The HTTP Protocol
Let"s talk about how the HTTP protocol works.
At its very foundation, the mạng internet is made up of two bộ vi xử lý core things: clients and servers.
Any time you click on your browser, you are accessing the internet through a web client. It may be Chrome, Firefox, Safari or internet Explorer.
When you visit a website, you are making a request to a web server.
Facebook.com, magmareport.net, MarthaStewart.com/1525880/marthas-chocolate-chip-cookies, all of these sites have their own trang chủ address. It"s called an IP address.
Your trang chủ address might be 123 Main Street, New York, NY 10001, and Facebook"s address happens to be 22.214.171.124.
Whenever you visit a page on the web, you are requesting a whole bunch of documents from that website"s server. Maybe those documents are HTML, CSS, images, a PDF—whatever it is, the basic relationship stays the same: you (the client), make a request, & the website (the server) responds to that request.
The language you are using khổng lồ make these requests is called the HTTP protocol. These protocols are really just standards that everyone on the website has agreed to. Just lượt thích English, Spanish và Chinese are all languages that have an understood protocol, HTTP is just a bunch of standards và an understood protocol.
There are a number of different web protocols out there – and you might be familiar with some of them:DNS – tên miền Name SystemFTP – tệp tin Transfer ProtocolHTTP – Hypertext Transfer ProtocolIRC – mạng internet Relay Chat ProtocolSMTP – Simple Mail Transfer ProtocolSSL – Secure Sockets Layer
HTTP Status Codes
Now that we understand what the HTTP protocol is, let"s talk about HTTP status codes. Status codes let us know whether the HTTP request was a success, a failure, or something in between.
Let’s take a look at the five bộ vi xử lý core status codes:1xx block: informational requests2xx block: successful requests3xx block: redirects4xx block: client errors5xx block: server errors
Some status codes are more common than others. For example, when you"re doing digital marketing, you"ll often come across status code 200, status code 301 và status code 404 - but you may never see status code 206 or 307.
Xem thêm: Giải Bài Toán Lớp 12, Giải Bài Tập Toán Lớp 12 Đầy Đủ Giải Tích Và Hình Học
Let"s briefly go over each status code block và what they mean.
1xx Status Codes
These are informational requests. The vps hasn’t fully completed the request yet và it’s still processing the information. You will not see these codes often. They include:100 – Continue101 – Switching protocol103 – Checkpoints
2xx Status Codes
These are successful requests, which means everything is okay. They include:200 – OK (you will see this one the most)201 – Created202 – Accepted205 – Reset Content206 – Partial Content
3xx Status Codes
These are redirects. These are shown when you request an address, but you are sent somewhere else. These can be good or bad. They include:301 – Moved Permanently302 – Found304 – Not Modified305 – Use Proxy307 – Temporary Redirect
4xx Status Codes
These are client errors. That means something went wrong with the request (client/user) và not the response (website/server). They include:400 – Bad Request401 – Unauthorized403 – Forbidden404 – Not Found408 – Request Timeout410 – Gone429 – Too Many Requests
5xx Status Codes
These are server errors. That means something went wrong with the response (website/server) & not the request (client/user). They include:500 – Internal vps Error502 – Bad Gateway503 – Service Unavailable504 – Gateway Timeout
Looking for more on a particular status code? We have a series of short guides on every HTTP response, so you can optimize your digital kinh doanh strategy. Grab them here: