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

    • <bdo id='Z2RGy'></bdo><ul id='Z2RGy'></ul>
  • <small id='Z2RGy'></small><noframes id='Z2RGy'>

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

      1. <tfoot id='Z2RGy'></tfoot>

        禁止預檢 403 響應

        Response for preflight 403 forbidden(禁止預檢 403 響應)

          <tbody id='5k0xp'></tbody>
          <bdo id='5k0xp'></bdo><ul id='5k0xp'></ul>
          <tfoot id='5k0xp'></tfoot>

          <small id='5k0xp'></small><noframes id='5k0xp'>

                <legend id='5k0xp'><style id='5k0xp'><dir id='5k0xp'><q id='5k0xp'></q></dir></style></legend>
                <i id='5k0xp'><tr id='5k0xp'><dt id='5k0xp'><q id='5k0xp'><span id='5k0xp'><b id='5k0xp'><form id='5k0xp'><ins id='5k0xp'></ins><ul id='5k0xp'></ul><sub id='5k0xp'></sub></form><legend id='5k0xp'></legend><bdo id='5k0xp'><pre id='5k0xp'><center id='5k0xp'></center></pre></bdo></b><th id='5k0xp'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='5k0xp'><tfoot id='5k0xp'></tfoot><dl id='5k0xp'><fieldset id='5k0xp'></fieldset></dl></div>
                1. 本文介紹了禁止預檢 403 響應的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我一直在嘗試向服務器發送一個簡單的 iron-ajax 帖子,但它在預檢調用中一直失敗.對于我的生活,我無法弄清楚發生了什么,服務器上的所有 CORS 標頭似乎都是正確的.

                  I've been trying to make a simple iron-ajax post to the server, but it keeps failing at the preflight call. For the life of me I can't figure out what's going on, all the CORS headers seem to be correct on the server.

                  響應頭

                  Access-Control-Allow-Credentials:true
                  Access-Control-Allow-Headers:Content-Type
                  Access-Control-Allow-Methods:GET, POST, PUT, OPTIONS
                  Access-Control-Allow-Origin:*
                  cache-control:must-revalidate, private, no-cache, no-store, max-age=0
                  Connection:Keep-Alive
                  Content-Encoding:gzip
                  Content-Length:138
                  Content-Type:text/html
                  

                  請求標頭

                  Accept:*/*
                  Accept-Encoding:gzip, deflate, sdch, br
                  Accept-Language:en-US,en;q=0.8
                  Access-Control-Request-Headers:content-type
                  Access-Control-Request-Method:POST
                  Cache-Control:no-cache
                  Connection:keep-alive
                  

                  請求確實是從 localhost 發出的,但我原以為 * 應該處理這個問題.

                  The request is indeed made from localhost, but I would have thought that the * should take care of that.

                  控制臺中顯示的錯誤是:OPTIONS https://... 403(禁止)

                  Errors that are showing up in the console are: OPTIONS https://... 403 (Forbidden) and

                  XMLHttpRequest cannot load https://.... Response for preflight has invalid HTTP status code 403
                  

                  感謝任何幫助/建議.

                  推薦答案

                  403 響應狀態表示服務器后端未配置為處理 OPTIONS 請求的一般問題,而不僅僅是 CORS 預檢 OPTIONS 請求.

                  The 403 response status indicates a general problem with the server backend not being configured to handle OPTIONS requests, not just CORS preflight OPTIONS requests.

                  服務器必須以 2xx 成功狀態(通常為 200 或 204)響應 OPTIONS 請求.

                  The server must respond to OPTIONS requests with a 2xx success status—typically 200 or 204.

                  如果服務器不這樣做,那么您將其配置為發送什么 Access-Control-* 標頭沒有任何區別.配置它以正確方式處理 OPTIONS 請求(發送 200 或 204 成功消息)的答案取決于它運行的服務器軟件.

                  If the server doesn’t do that, it makes no difference what Access-Control-* headers you have it configured to send. And the answer to configuring it to handle OPTIONS requests in the right way — to send a 200 or 204 success message — depends on what server software it’s running.

                  這篇關于禁止預檢 403 響應的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                  相關文檔推薦

                  Is it possible for XHR HEAD requests to not follow redirects (301 302)(XHR HEAD 請求是否有可能不遵循重定向 (301 302))
                  NETWORK_ERROR: XMLHttpRequest Exception 101(NETWORK_ERROR:XMLHttpRequest 異常 101)
                  XMLHttpRequest 206 Partial Content(XMLHttpRequest 206 部分內容)
                  XmlHttpRequest onprogress interval(XmlHttpRequest onprogress 間隔)
                  How can I modify the XMLHttpRequest responsetext received by another function?(如何修改另一個函數接收到的 XMLHttpRequest 響應文本?)
                  What is the difference between XMLHttpRequest, jQuery.ajax, jQuery.post, jQuery.get(XMLHttpRequest、jQuery.ajax、jQuery.post、jQuery.get 有什么區別)
                    • <bdo id='qBsKw'></bdo><ul id='qBsKw'></ul>
                      <i id='qBsKw'><tr id='qBsKw'><dt id='qBsKw'><q id='qBsKw'><span id='qBsKw'><b id='qBsKw'><form id='qBsKw'><ins id='qBsKw'></ins><ul id='qBsKw'></ul><sub id='qBsKw'></sub></form><legend id='qBsKw'></legend><bdo id='qBsKw'><pre id='qBsKw'><center id='qBsKw'></center></pre></bdo></b><th id='qBsKw'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='qBsKw'><tfoot id='qBsKw'></tfoot><dl id='qBsKw'><fieldset id='qBsKw'></fieldset></dl></div>

                        <tbody id='qBsKw'></tbody>
                      <tfoot id='qBsKw'></tfoot>

                          1. <legend id='qBsKw'><style id='qBsKw'><dir id='qBsKw'><q id='qBsKw'></q></dir></style></legend>

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

                            主站蜘蛛池模板: 男人阁久久 | 伊人久久成人 | www.日韩高清 | 国产精品爱久久久久久久 | 国产男女猛烈无遮掩视频免费网站 | 亚洲色欲色欲www | 久久久一| 91精品国产色综合久久 | 国产亚洲精品久久午夜玫瑰园 | 99资源| 九九综合九九 | 亚洲国产一区在线 | 欧美日韩综合 | 久久久久久国产精品mv | 日本三级做a全过程在线观看 | 中国黄色在线视频 | 一区二区三区在线看 | 免费视频久久久久 | 一级黄色片在线免费观看 | 99视频在线| 免费黄色成人 | 国产剧情久久 | 在线视频一区二区三区 | 99re视频在线 | 精品国产一区探花在线观看 | 免费看片在线播放 | 亚洲最大av | 日韩精品一区二区三区在线观看 | 国产亚洲精品美女久久久久久久久久 | 国产精品日韩一区 | 国产一区二区三区四区五区加勒比 | 最新中文字幕在线播放 | 欧美日韩福利视频 | 欧美一级片在线播放 | 亚洲一区二区三区乱码aⅴ 四虎在线视频 | 欧美久久久久久久久 | 国产一区二区欧美 | 夜夜爽99久久国产综合精品女不卡 | 91视频久久 | 欧美在线一区二区三区 | 美女视频一区 |