On 13-03-27 17:59, John Varela wrote:
> I'm baffled.
Next: within safari:
Develop -> Show Web Inspector
Then type
www.google.com in the normal URL bar, press return.
The web insector pane below the browser window will then show each HTTP
request being made to load the contents. Click on the "Network tab"
For instance, for me:
www.google.com returns a 302 code (found) and followed by a request for
www.google.ca with a 200 OK code. (and then requests for blank.html, and
various images)
Now, if I click on the first entry
www.google.com it will some me the
headers for that HTTP transation.
You will see the request headers (what safari sent) and the response
headers (what it got back from remore web server)
here is what I got for
www.google.com:
Request URL:
http://www.google.com/
Request Method:GET
Status Code:302 Found
Request Headers
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8)
AppleWebKit/534.58.2 (KHTML, like Gecko) Version/5.1.8 Safari/534.58.2
Response Headers
Cache-Control:private
Content-Length:218
Content-Type:text/html; charset=UTF-8
Date:Wed, 27 Mar 2013 22:38:20 GMT
Location:
http://www.google.ca/
Server:gws
X-Frame-Options:SAMEORIGIN
X-Xss-Protection:1; mode=block
(In the above case the Location: field tells the browser to switch to a
different page, in my case
google.ca since google has determined I am
canadian)
In your case, looking at what happens and how far the process goes
before safari declares the request failed is important.
Some notes:
200 series codes are "success"
300 series error codes are basically "not here, but not failed"
400 series codes: Sorry there is a serious error (content not found etc)
500 series code: sorry, but the web server is having problems (not your
fault)
If there is a DNS problem, you will see a "failed" in the Status text
since no TCPIP connection could be established so no request could be
sent and response received.