惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

人人都是产品经理
人人都是产品经理
D
Docker
GbyAI
GbyAI
B
Blog RSS Feed
博客园 - 司徒正美
博客园 - Franky
美团技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
aimingoo的专栏
aimingoo的专栏
C
Check Point Blog
IT之家
IT之家
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
www.infosecurity-magazine.com
www.infosecurity-magazine.com
AI
AI
O
OpenAI News
Attack and Defense Labs
Attack and Defense Labs
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
T
Tailwind CSS Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
S
Secure Thoughts
博客园 - 聂微东
L
LINUX DO - 最新话题
U
Unit 42
SecWiki News
SecWiki News
A
Arctic Wolf
Schneier on Security
Schneier on Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
V
Visual Studio Blog
量子位
The Cloudflare Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
大猫的无限游戏
大猫的无限游戏
Google DeepMind News
Google DeepMind News
G
Google Developers Blog
T
Threat Research - Cisco Blogs
TaoSecurity Blog
TaoSecurity Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
B
Blog
博客园 - 【当耐特】
C
CERT Recently Published Vulnerability Notes
Scott Helme
Scott Helme
Last Week in AI
Last Week in AI
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Microsoft Security Blog
Microsoft Security Blog
Apple Machine Learning Research
Apple Machine Learning Research
F
Full Disclosure
Hacker News: Ask HN
Hacker News: Ask HN
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
Latest news
Latest news

Recent Commits to web-share-target:main

Refactor: remove WebIDL (#106) · w3c/web-share-target@72dd80f Possibility of transferring user id (#100) · w3c/web-share-target@0782f1a chore: use group option in config · w3c/web-share-target@fadadfb chore: use main branch in config · w3c/web-share-target@a7a06ec Editorial: reference Encoding's 'UTF-8' directly (#96) · w3c/web-share-target@a703396 chore: migrate to WebApps WG (#95) · w3c/web-share-target@6025309 Accessibility considerations (#88) · w3c/web-share-target@93bf095 editorial: link to urlencoded serializer (#92) · w3c/web-share-target@a8d4a5d chore: cleanup some ReSpec usage (#91) · w3c/web-share-target@b27e5a8 Update w3c.json · w3c/web-share-target@41b27b5 Long share requests may truncate with GET (#82) · w3c/web-share-target@dd4e83f Remove 'early draft' wording (#79) · w3c/web-share-target@fc831cb Skip bad files entries and make accept required (#78) · w3c/web-share-target@83a63b0 Validate enctype when method is GET (#72) · w3c/web-share-target@4078bc4 Support file sharing (#53) · w3c/web-share-target@76eabad [web-share-target] Introduce Level 2 Spec (#71) · w3c/web-share-target@a5f4eb2 Potentially trustworthy origins (#69) · w3c/web-share-target@b3c4d76 Mention plan for sharing files (#65) · w3c/web-share-target@3fccfd1 Retire links to Interface document (#62) · w3c/web-share-target@5279a5a
Encourage redirect after POST (#80) · w3c/web-share-target@0d9d25f
ewilligers · 2019-04-16 · via Recent Commits to web-share-target:main

This repository was archived by the owner on Jun 30, 2026. It is now read-only.

File tree

Original file line numberDiff line numberDiff line change

@@ -200,8 +200,8 @@ <h2>

200200

event.respondWith((async () =&gt; {

201201

const formData = await event.request.formData();

202202

const link = formData.get('link') || '';

203-

saveBookmark(link);

204-

return new Response('Bookmark saved: ' + link);

203+

const responseUrl = await saveBookmark(link);

204+

return Response.redirect(responseUrl, 303);

205205

})());

206206

});

207207

</pre>

@@ -268,6 +268,12 @@ <h2>

268268

<code>url</code> with a short link to fit into the message size.

269269

</li>

270270

</ul>

271+

<p>

272+

As with HTML forms, replying to a POST request with a

273+

<a data-cite="!RFC7231#section-6.4.4">303 See Other</a> redirect

274+

is highly recommended, as it avoids the POST being submitted a

275+

second time if the user requests a page refresh.

276+

</p>

271277

</section>

272278

<section data-link-for="WebAppManifest">

273279

<h2>