문제

There are error codes when something bad happens to a page but there is also a code when it loads correctly.

What browser code for a page when it loads like it should?

도움이 되었습니까?

해결책

It should be HTTP code 200 ("Ok"). NB: This is on http level and has nothing to do with html. It only tells you that the requested content has been accessed correctly.

You can have a look at the RFC for the different HTTP codes. http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

다른 팁

Usually the code returned by the server is 200.

However, the server might also return 304 if the file was not modified since it was last requested.

The details are here: W3 RFC 2616

HTTP: 200 is the standard code. Reference here.

You can take a look at here for details on all codes.

In addition to 200, there are others that signal positive response.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top