Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
BB committed Jun 12, 2024
1 parent 62ae61a commit 1d2c48a
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
del.sh
11 changes: 11 additions & 0 deletions test/tst1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<html>

<script src="tst1.js"></script>

<body onload='init()'>


</body>

</html>

19 changes: 19 additions & 0 deletions test/tst1.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

function init() {

var url = "https://raw.githubusercontent.com/burakbayramli/alldata/main/globe/g10g1";

fetch(url, {
headers: {
'content-type': 'multipart/byteranges',
'range': 'bytes=2-5,10-13',
},
}).then(response => {
if (response.ok) {
return response.text();
}
}).then(response => {
console.log(response);
});

}

0 comments on commit 1d2c48a

Please sign in to comment.