Skip to content

Commit f76f14e

Browse files
save file
1 parent 8f9e756 commit f76f14e

File tree

1 file changed

+27
-28
lines changed

1 file changed

+27
-28
lines changed

blog/25-07-31/fetch-download-stream/fetch-download-stream.html

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77

88
<head>
99
<meta charset=utf-8>
10-
10+
1111
<title>
1212
Fetch Download Stream
1313
</title>
14-
14+
1515
<meta name=description content='Learn how to consume a download stream using the Fetch API in JavaScript. This guide covers handling readable streams, processing binary data, and saving files efficiently from network responses.'>
1616
<link rel=icon type='image/png' href='/blog/image/blog-30.png'>
1717
<meta name=viewport content='width=device-width, initial-scale=1'>
1818

1919
<base href='https://ext-code.com/blog/25-07-31/fetch-download-stream/'>
2020
<link rel=canonical href='https://ext-code.com/blog/25-07-31/fetch-download-stream/fetch-download-stream.html'>
2121

22-
22+
2323
<script type='application/ld+json'>
2424

2525
{
@@ -33,7 +33,7 @@
3333
"mainEntityOfPage" : {"@type":"WebPage","@id":"https://ext-code.com/blog/25-07-31/fetch-download-stream/fetch-download-stream.html"},
3434
"publisher" : {"@type":"Organization","name":"Your Blog or Company Name","logo":{"@type":"ImageObject","url":"https://ext-code.com/favicon.ico"}},
3535
}
36-
36+
3737
</script>
3838
<!--
3939
"image" : "https://yourdomain.com/images/http2-nodejs-demo.png"
@@ -46,14 +46,13 @@
4646

4747

4848
<script src='https://ajaxorg.github.io/ace-builds/src-noconflict/ace.js'></script>
49-
50-
51-
<script src='https://libs.ext-code.com/js/dom/component/component.js'></script>
52-
<script src='https://libs.ext-code.com/js/dom/init-hdr/init-hdr.js'></script>
53-
54-
49+
50+
51+
<script src='https://libs.ext-code.com/js/dom/component/v3.0/component.js?hdr'></script>
52+
53+
5554
<link rel=stylesheet href='/blog/css/blog.css'>
56-
55+
5756
<style>
5857

5958
html
@@ -68,39 +67,39 @@
6867
[component]
6968
{display:none}
7069

71-
.description
70+
.description
7271
{max-width:1000px;text-align:justify;border-left:4px solid #4a90e2;padding:1rem;
7372
background-color:#f9f9f9;font-family:system-ui,sans-serif;font-size:1rem;line-height:1.6;color:#333}
7473
.description>p
7574
{margin:0}
7675
.description > p+p
7776
{margin:10px 0}
78-
77+
7978
code
8079
{font-family:monospace;background:whitesmoke}
8180
code.inline
8281
{display:inline;padding:5px 10px}
83-
82+
8483
a
8584
{color:#4a90e2;text-decoration:none;font-weight:500}
86-
a:hover
85+
a:hover
8786
{text-decoration:underline}
8887
.link-domain
8988
{font-size:0.85rem;color:#777;margin-left:0.25rem}
90-
.link-domain::before
89+
.link-domain::before
9190
{content:'['}
9291
.link-domain::after
9392
{content:']'}
9493
.link-txt
9594
{}
96-
95+
9796
input
9897
{font-size:16px;padding:5px 7px;box-sizing:border-box;}
9998
input[type=button]
10099
{cursor:pointer}
101-
102-
103-
100+
101+
102+
104103
editor-root
105104
{border:2px solid #4a90e2;padding:10px}
106105

@@ -111,29 +110,29 @@
111110

112111

113112
<body>
114-
115-
<blog-hdr component=grp1>
113+
114+
<blog-hdr component=grp1>
116115
<h1 class=title>
117116
Fetch Download Stream
118117
</h1>
119118
<time slot=date datetime=2025-10-23>
120119
23 Oct 2025
121120
</time>
122121
</blog-hdr>
123-
124-
125-
126-
122+
123+
124+
125+
127126
<div class=description>
128127
<p>
129128
Learn how to consume a download stream using the Fetch API in JavaScript. This guide covers handling readable
130129
streams, processing binary data, and saving files efficiently from network responses.
131130
</p>
132131
</div>
133-
132+
134133

135134
<snippet-html-console id=ex src='ex/ex.html' component></snippet-html-console>
136-
135+
137136

138137
</body>
139138

0 commit comments

Comments
 (0)