...

View Full Version : Json call returns 200 ok and 408 both



mnanavati
12-02-2010, 12:51 AM
Hi,
I am trying to retrieve a JSON object from the following URL
http://server/version

When i run the following script from firebug console
>>> $.getJSON("/version",function(data){alert (data.version)});

It makes a call and displays the correct version in the alert box , but it also throws a 408.

This is the output in firebug console

>>> $.getJSON("/version",function(data){alert (data.version)});
GET https://serverurl/version 200 OK 157ms
XMLHttpRequest { readyState=1, more...}
"NetworkError: 408 Request Timeout - https://serverurl/version"


Can someone please help.

Thanks,
M

mnanavati
12-02-2010, 01:10 AM
Ok, now its reacting differently.
From the firebug console, I get only the 200 Ok message

But when the same statemet is used from the js page , it throws the 408.

Any ideaS?

Dormilich
12-02-2010, 07:56 AM
408 is a request timeout.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum