jQuery的抽象在所謂的「超集」不暴露responseURL字段XMLHttpRequest對象。這是在他們的文檔,他們談「的jQuery的XMLHttpRequest(jqXHR)對象」
For backward compatibility with XMLHttpRequest, a jqXHR object will expose the following properties and methods:
readyState
responseXML and/or responseText when the underlying request responded with xml and/or text, respectively
status
statusText
abort([ statusText ])
getAllResponseHeaders() as a string
getResponseHeader(name)
overrideMimeType(mimeType)
setRequestHeader(name, value) which departs from the standard by replacing the old value with the new one rather than concatenating the new value to the old one
statusCode(callbacksByStatusCode)
No onreadystatechange mechanism is provided, however, since done, fail, always, and statusCode cover all conceivable requirements.
正如你可以看到有沒有辦法得到的迴應URL的保持,因爲jqXHR API不公開它
可能重複的http://stackoverflow.com/questions/199099/how-to-manage-a-redirect-request-after-a-jquery-ajax-call –