Editing
Web Ping
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== 觀察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代表沒有該檔案。 * Mozilla Firefox {{Fx}}內建的工具 -> 網頁開發者 -> 網頁主控台。快速鍵: {{kbd | key = Ctrl}}+{{kbd | key = Shift}}+{{kbd | key = k}}。 ** filter: available ** example as follows: <pre> [23:14:47.836] GET https://www.google.com/ [HTTP/1.1 200 OK 10763ms] [23:14:59.707] GET https://www.google.com/ig/cp/get?hl=zh-TW&gl=&authuser=0&bundleJs=0 [HTTP/1.1 304 Not Modified 1593ms] </pre> * Firebug for {{Fx}}: 切換到「網路」標籤。快速鍵: {{kbd | key = F12}} * Google {{chrome}}內建的工具 -> 開發人員工具 -> 切換到「network」標籤。快速鍵: {{kbd | key = Ctrl}}+{{kbd | key = Shift}}+{{kbd | key = i}} * [https://addons.mozilla.org/en-US/firefox/addon/live-http-headers/ Live HTTP Headers] for {{Fx}} * [https://curl.haxx.se/docs/manpage.html curl] on {{Linux}} or {{Mac}} e.g. {{kbd | key = <nowiki>curl -v -o /dev/null https://www.slideshare.net</nowiki>}} <ref>[https://asciinema.org/a/89998 中華電信有線網路無法連到 slideshare 的測試 - asciinema]</ref>
Summary:
Please note that all contributions to LemonWiki共筆 are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
LemonWiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Current events
Recent changes
Random page
Help
Categories
Tools
What links here
Related changes
Special pages
Page information