镜像资源更新
Last updated
2023-07-14 16:28:36
{"value":"## **\u63cf\u8ff0**\n\n\u5bf9\u8bbe\u7f6e\u4e86\u955c\u50cf\u5b58\u50a8\u7684\u7a7a\u95f4\uff0c\u4f7f\u7528\u672c\u63a5\u53e3\u5c06\u955c\u50cf\u6e90\u7ad9\u6293\u53d6\u6307\u5b9a\u540d\u79f0\u7684\u6587\u4ef6\u5e76\u5b58\u50a8\u5230\u8be5\u7a7a\u95f4\u4e2d\u3002\n\u5982\u679c\u8be5\u7a7a\u95f4\u4e2d\u5df2\u5b58\u5728\u8be5\u540d\u79f0\u7684\u6587\u4ef6\uff0c\u5219\u4f1a\u5c06\u955c\u50cf\u6e90\u7ad9\u7684\u6587\u4ef6\u8986\u76d6\u7a7a\u95f4\u4e2d\u76f8\u540c\u540d\u79f0\u7684\u6587\u4ef6\u3002\n\n\n\n## **\u8bf7\u6c42**\n\n**\u8bf7\u6c42\u8bed\u6cd5**\n\n```\nPOST \/prefetch\/<EncodedEntryURI>\nHost: iovip-<Region>.qiniuio.com\nContent-Type: application\/x-www-form-urlencoded\nX-Qiniu-Date: 20060102T150405Z\nAuthorization: Qiniu <AccessToken>\n```\n\n\n\n**\u8bf7\u6c42\u53c2\u6570**\n\n| \u53c2\u6570\u540d\u79f0 | \u5fc5\u586b | \u8bf4\u660e |\n| --------------- | ---- | --------------------------------------- |\n| EncodedEntryURI | \u662f | \u6307\u5b9a\u6587\u4ef6\u4fe1\u606f\uff0c\u8be6\u60c5\u8bf7\u53c2\u8003EncodedEntryURI |\n\n\n\n**\u8bf7\u6c42\u5934**\n\n| \u5934\u90e8\u540d\u79f0 | \u5fc5\u586b | \u8bf4\u660e | |\n| :------------ | :--- | :----------------------------------------------------------- | ---------------- |\n| Host | \u662f | `iovip-<Region>.qiniuio.com` \u4e2d\u7684 `<Region>` \u4e3a\u4e03\u725b\u5404\u533a\u57df ID\uff0c\u8bf7\u53c2\u8003\u4e03\u725b\u652f\u6301\u7684 \u533a\u57df\u5217\u8868]\u67e5\u770b\u5177\u4f53\u57df\u540d\u3002 | |\n| Authorization | \u662f | \u8be5\u53c2\u6570\u5e94\u4e25\u683c\u6309\u7167\u7ba1\u7406\u51ed\u8bc1\u683c\u5f0f\u8fdb\u884c\u586b\u5145\uff0c\u5426\u5219\u4f1a\u8fd4\u56de 401 \u9519\u8bef\u7801\u4e00\u4e2a\u5408\u6cd5\u7684 Authorization \u503c\u5e94\u7c7b\u4f3c\u4e8e\uff1a`Qiniu QNJi_bYJlmO5LeY08FfoNj9w_r7...` | |\n| | \u5176\u4ed6 | | \u8bf7\u67e5\u9605\u516c\u5171\u8bf7\u6c42\u5934 |\n\n\n\n\n\n### **\u8bf7\u6c42\u5185\u5bb9**\n\n\u8be5\u8bf7\u6c42\u64cd\u4f5c\u7684\u8bf7\u6c42\u4f53\u4e3a\u7a7a\u3002\n\n## **\u54cd\u5e94**\n\n**\u54cd\u5e94\u8bed\u6cd5**\n\n```\nHTTP\/1.1 200 OK\nContent-Type: application\/json\nCache-Control: no-store\n```\n\n\n\n**\u54cd\u5e94\u5934**\n\n| \u5934\u90e8\u540d\u79f0 | \u5fc5\u586b | \u8bf4\u660e |\n| :----------- | :--- | :----------------------------------------------------------- |\n| Content-Type | \u662f | \u6b63\u5e38\u60c5\u51b5\u4e0b\u8be5\u503c\u5c06\u88ab\u8bbe\u4e3a `application\/json`\uff0c\u8868\u793a\u8fd4\u56de JSON \u683c\u5f0f\u7684\u6587\u672c\u4fe1\u606f\u3002 |\n| \u5176\u4ed6 | | \u5176\u5b83\u53ef\u80fd\u8fd4\u56de\u7684\u5934\u90e8\u4fe1\u606f\uff0c\u8bf7\u53c2\u8003\u516c\u5171\u54cd\u5e94\u5934]\u3002 |\n\n\n\n**\u54cd\u5e94\u5185\u5bb9**\n\n\u5982\u679c\u8bf7\u6c42\u6210\u529f\uff0c\u4e0d\u8fd4\u56de\u4efb\u4f55\u5185\u5bb9\u3002 \u5982\u679c\u8bf7\u6c42\u5931\u8d25\uff0c\u8fd4\u56de\u5305\u542b\u5982\u4e0b\u5185\u5bb9\u7684 JSON \u5b57\u7b26\u4e32\uff08\u5df2\u683c\u5f0f\u5316\uff0c\u4fbf\u4e8e\u9605\u8bfb\uff09\uff1a\n\n```\n{\n \"error\": \"<errMsg string>\",\n}\n```\n\n| \u5b57\u6bb5\u540d\u79f0 | \u5fc5\u586b | \u8bf4\u660e |\n| :------- | :--- | :--------------------------- |\n| error | \u662f | \u4e0e HTTP \u72b6\u6001\u7801\u5bf9\u5e94\u7684\u6d88\u606f\u6587\u672c |\n\n\n\n\n\n**\u54cd\u5e94\u72b6\u6001\u7801**\n\n| HTTP\u72b6\u6001\u7801 | \u542b\u4e49 |\n| :--------- | :-------------------------------------------- |\n| 200 | \u6293\u53d6\u6210\u529f |\n| 400 | \u8bf7\u6c42\u62a5\u6587\u683c\u5f0f\u9519\u8bef |\n| 401 | \u7ba1\u7406\u51ed\u8bc1\u65e0\u6548 |\n| 404 | \u6293\u53d6\u8d44\u6e90\u4e0d\u5b58\u5728 |\n| 478 | \u6e90\u7ad9\u8fd4\u56de404\u5916\uff0c\u6240\u6709\u975e200\u7684response\u90fd\u8fd4\u56de478\u3002 |\n| 599 | \u670d\u52a1\u7aef\u64cd\u4f5c\u5931\u8d25 |\n| \u5176\u4ed6\u9519\u8bef\u7801 | \u8bf7\u67e5\u9605\u9519\u8bef\u54cd\u5e94 |\n\n\u5982\u9047 599 \u9519\u8bef\uff0c\u8bf7\u5c06\u5b8c\u6574\u9519\u8bef\u4fe1\u606f\uff08\u5305\u62ec\u6240\u6709 HTTP \u54cd\u5e94\u5934\u90e8\uff09\u63d0\u4ea4\u5de5\u5355\u7ed9\u6211\u4eec\u3002\n\n\n\n## **\u793a\u4f8b**\n\n**\u8bf7\u6c42\u793a\u4f8b**\n\n```\nPOST \/prefetch\/bmV3ZG9jczpmaW5kLm1hbi50eHQ= HTTP\/1.1\nUser-Agent: curl\/7.30.0\nHost: iovip.qiniuio.com\nAccept: *\/*\nX-Qiniu-Date: 20060102T150405Z\nAuthorization: Qiniu u8WqmQu1jH21kxpIQmo2LqntzugM1VoHE9_pozCU:2LJIG...(\u8fc7\u957f\u5df2\u7701\u7565)\n```\n\n*\u6ce8\uff1a\u8981\u5728 `Authorization` \u5934\u90e8\u7684 `<AccessToken>` \u524d\u6dfb\u52a0 `Qiniu` \u548c\u534a\u89d2\u7a7a\u683c\u3002*\n\n**\u54cd\u5e94\u793a\u4f8b**\n\n```\nHTTP\/1.1 200 OK\nServer: nginx\/1.0.8\nDate: Mon, 02 Jan 2006 15:04:05 GMT\nContent-Type: application\/json\nConnection: keep-alive\nContent-Length: 0\nX-Log: RS.in;RS.mo;qtbl.mv:3;MQ;MC\/404;RS.mcd:1;RS:5\nX-Reqid: wxIAAD3btw-v3TwT\n```\n\n*\u6ce8\uff1a\u672c\u63a5\u53e3\u5728\u6267\u884c\u540c\u6b65\u64cd\u4f5c\u65f6\uff0c\u5982\u679c\u6293\u53d6\u7684\u8d44\u6e90\u8fc7\u5927\u6216\u8005\u6e90\u7ad9\u54cd\u5e94\u8fc7\u6162\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u8d85\u65f6\u3002*"}