タイトルが言うように、私はこのJavascriptコードを持っています:
$.ajax({
type: "GET",
url: "http://192.168.20.249/test.brick",
dataType: "json"
}).done(function() { alert("success"); }).fail(function() { alert("error"); }).always(function() { alert("complete"); });
私のウェブサーバーはこれらのデータを送信します:
200 OK
Date: Tue, 12 Mar 2013 07:49:51 GMT
Server: Hiawatha v8.8
Connection: keep-alive
Transfer-Encoding: chunked
Content-Type: application/json
{"Test": "Hello"}
jQueryがリクエストが失敗したと考える理由はありますか?