久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <tfoot id='nlI8W'></tfoot>
    • <bdo id='nlI8W'></bdo><ul id='nlI8W'></ul>
  • <i id='nlI8W'><tr id='nlI8W'><dt id='nlI8W'><q id='nlI8W'><span id='nlI8W'><b id='nlI8W'><form id='nlI8W'><ins id='nlI8W'></ins><ul id='nlI8W'></ul><sub id='nlI8W'></sub></form><legend id='nlI8W'></legend><bdo id='nlI8W'><pre id='nlI8W'><center id='nlI8W'></center></pre></bdo></b><th id='nlI8W'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='nlI8W'><tfoot id='nlI8W'></tfoot><dl id='nlI8W'><fieldset id='nlI8W'></fieldset></dl></div>

      <small id='nlI8W'></small><noframes id='nlI8W'>

        <legend id='nlI8W'><style id='nlI8W'><dir id='nlI8W'><q id='nlI8W'></q></dir></style></legend>

      1. 如何在 XMLHttpRequest 中獲取響應(yīng) url?

        How to get response url in XMLHttpRequest?(如何在 XMLHttpRequest 中獲取響應(yīng) url?)

          <small id='DTyMY'></small><noframes id='DTyMY'>

          <legend id='DTyMY'><style id='DTyMY'><dir id='DTyMY'><q id='DTyMY'></q></dir></style></legend>
            <bdo id='DTyMY'></bdo><ul id='DTyMY'></ul>
            <tfoot id='DTyMY'></tfoot>
              • <i id='DTyMY'><tr id='DTyMY'><dt id='DTyMY'><q id='DTyMY'><span id='DTyMY'><b id='DTyMY'><form id='DTyMY'><ins id='DTyMY'></ins><ul id='DTyMY'></ul><sub id='DTyMY'></sub></form><legend id='DTyMY'></legend><bdo id='DTyMY'><pre id='DTyMY'><center id='DTyMY'></center></pre></bdo></b><th id='DTyMY'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='DTyMY'><tfoot id='DTyMY'></tfoot><dl id='DTyMY'><fieldset id='DTyMY'></fieldset></dl></div>
                  <tbody id='DTyMY'></tbody>

                1. 本文介紹了如何在 XMLHttpRequest 中獲取響應(yīng) url?的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

                  問(wèn)題描述

                  有一個(gè)頁(yè)面(url),我通過(guò) XMLHttpRequest 請(qǐng)求它,但我沒(méi)有從請(qǐng)求的 url 得到響應(yīng),它正在將請(qǐng)求定向到另一個(gè)頁(yè)面,

                  There is a page (url), I request it by XMLHttpRequest, but I'm not getting response from requested url, It's directing request to another page,

                  請(qǐng)求---> page.php
                  從 > directedpage.php

                  問(wèn)題是如何獲得響應(yīng)網(wǎng)址?(以directedpage.php為例)

                  and the question is how can I get response url? (directedpage.php in example)

                  推薦答案

                  在 XMLHttpRequest 實(shí)例的 responseurl-attribute">responseURL 屬性.此功能是新功能,僅在 2014 年 9 月穩(wěn)定的 Firefox 32 [ref] 和 Chrome 中受支持37.0.2031.0 2014 年 8 月穩(wěn)定[ref](可能還有 Opera 24).responseURL 在 IE 11 或 Safari 7 及更早版本的瀏覽器中(尚)不受支持.對(duì)于這些瀏覽器,之前的答案依然成立:

                  The final URL (after following all redirects) is available in the responseURL attribute of a XMLHttpRequest instance. This feature is new and only supported in Firefox 32 stable in September 2014 [ref] and Chrome 37.0.2031.0 stable in August 2014 [ref] (and probably also Opera 24). responseURL is not (yet) supported in IE 11 or Safari 7 and older browsers. For these browsers, the previous answer is still true:

                  XMLHttpRequest 自動(dòng)跟隨重定向,而不將提供的 URL 保存在屬性中.Location 標(biāo)頭既不能通過(guò) .getResponseHeader() 檢索.

                  XMLHttpRequest automatically follows redirects, without saving the served URLs in a property. The Location header can neither be retrieved through the .getResponseHeader().

                  參考資料:

                  • https://groups.google.com/a/chromium.org/d/msg/blink-dev/AU6pAiYZ8J4/ec5jgoEDsF0J
                  • https://bugzilla.mozilla.org/show_bug.cgi?id=998076李>

                  這篇關(guān)于如何在 XMLHttpRequest 中獲取響應(yīng) url?的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  Browser waits for ajax call to complete even after abort has been called (jQuery)(即使在調(diào)用 abort (jQuery) 之后,瀏覽器也會(huì)等待 ajax 調(diào)用完成)
                  JavaScript innerHTML is not working for IE?(JavaScript innerHTML 不適用于 IE?)
                  XMLHttpRequest cannot load, No #39;Access-Control-Allow-Origin#39; header is present on the requested resource(XMLHttpRequest 無(wú)法加載,請(qǐng)求的資源上不存在“Access-Control-Allow-Origin標(biāo)頭) - IT屋-程序員軟件開(kāi)發(fā)技術(shù)分
                  Is it possible for XHR HEAD requests to not follow redirects (301 302)(XHR HEAD 請(qǐng)求是否有可能不遵循重定向 (301 302))
                  NETWORK_ERROR: XMLHttpRequest Exception 101(NETWORK_ERROR:XMLHttpRequest 異常 101)
                  XMLHttpRequest 206 Partial Content(XMLHttpRequest 206 部分內(nèi)容)

                  <i id='UMtzk'><tr id='UMtzk'><dt id='UMtzk'><q id='UMtzk'><span id='UMtzk'><b id='UMtzk'><form id='UMtzk'><ins id='UMtzk'></ins><ul id='UMtzk'></ul><sub id='UMtzk'></sub></form><legend id='UMtzk'></legend><bdo id='UMtzk'><pre id='UMtzk'><center id='UMtzk'></center></pre></bdo></b><th id='UMtzk'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='UMtzk'><tfoot id='UMtzk'></tfoot><dl id='UMtzk'><fieldset id='UMtzk'></fieldset></dl></div>

                  <small id='UMtzk'></small><noframes id='UMtzk'>

                        <bdo id='UMtzk'></bdo><ul id='UMtzk'></ul>

                          • <legend id='UMtzk'><style id='UMtzk'><dir id='UMtzk'><q id='UMtzk'></q></dir></style></legend>
                              <tbody id='UMtzk'></tbody>
                          • <tfoot id='UMtzk'></tfoot>
                          • 主站蜘蛛池模板: 国产成人精品一区二三区在线观看 | 日韩在线小视频 | 国产激情一区二区三区 | 美日韩免费视频 | 欧美日韩一区二区在线 | 免费一区| 亚洲一二三区免费 | 色综合一区| 91视视频在线观看入口直接观看 | 婷婷丁香在线视频 | 国产免费一级一级 | 国产免费观看一级国产 | 国产成人精品一区二区 | 久久成人av | 国产欧美精品一区二区 | 激情 亚洲| 成av人电影在线 | 逼逼视频| 成人精品鲁一区一区二区 | 免费日韩av网站 | 成人av网站在线观看 | 99久久久国产精品 | 久久高清 | 精品国产免费一区二区三区演员表 | yiren22综合网成人 | 在线一区二区三区 | 成人日b视频| xnxx 日本免费| 免费不卡av| 欧美区日韩区 | 成人国产精品免费观看 | 久久99精品久久久久久国产越南 | 婷婷免费在线 | 亚洲一区 中文字幕 | 亚洲成人中文字幕 | 亚洲a一区二区 | 亚洲精品大片 | 亚洲国产第一页 | 伊人网综合 | 福利在线观看 | 91精品国产91久久综合桃花 |