Web Ping: Difference between revisions

Jump to navigation Jump to search
36 bytes added ,  17 February 2012
m
Line 71: Line 71:
=== 觀察HTTP response status code(HTTP回應狀態代碼) ===
=== 觀察HTTP response status code(HTTP回應狀態代碼) ===
瀏覽網頁時,可以觀察該網頁或網頁內元件(例如嵌入圖檔或聲音)的HTTP response status code(HTTP回應狀態代碼)<ref>[http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html HTTP/1.1: Status Code Definitions]</ref>,例如404代表沒有該檔案。
瀏覽網頁時,可以觀察該網頁或網頁內元件(例如嵌入圖檔或聲音)的HTTP response status code(HTTP回應狀態代碼)<ref>[http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html HTTP/1.1: Status Code Definitions]</ref>,例如404代表沒有該檔案。
* Mozilla Firefox {{Fx}}內建的工具 -> 網頁開發者 -> 網頁主控台。快速鍵: {{kbd | key = Ctrl}}+{{kbd | key = Shift}}+{{kbd | key = k}}。example:
* Mozilla Firefox {{Fx}}內建的工具 -> 網頁開發者 -> 網頁主控台。快速鍵: {{kbd | key = Ctrl}}+{{kbd | key = Shift}}+{{kbd | key = k}}
** filter: available
** example as follows:
<pre>
<pre>
[23:14:47.836] GET https://www.google.com/ [HTTP/1.1 200 OK 10763ms]
[23:14:47.836] GET https://www.google.com/ [HTTP/1.1 200 OK 10763ms]

Navigation menu