mirror of
https://github.com/fluencelabs/dweb-transports
synced 2025-04-24 22:32:16 +00:00
Updated, webpacked and deployed
This commit is contained in:
parent
e1daaf5f9c
commit
b6a71fa4ba
2
dist/dweb-transports-bundle.js
vendored
2
dist/dweb-transports-bundle.js
vendored
File diff suppressed because one or more lines are too long
@ -64,7 +64,8 @@ httptools.p_httpfetch = async function(httpurl, init, {wantstream=false}={}) { /
|
||||
//TODO explicitly parameterise if want it to loop
|
||||
*/
|
||||
try {
|
||||
debught("p_httpfetch: %s %o", httpurl, init.headers.get("range"));
|
||||
// THis was get("range") but that works when init.headers is a Headers, but not when its an object
|
||||
debught("p_httpfetch: %s %o", httpurl, init.headers.range);
|
||||
//console.log('CTX=',init["headers"].get('Content-Type'))
|
||||
// Using window.fetch, because it doesn't appear to be in scope otherwise in the browser.
|
||||
let req = new Request(httpurl, init);
|
||||
|
@ -51,5 +51,5 @@
|
||||
"test": "cd src; node ./test.js",
|
||||
"help": "echo 'test (test it)'; echo 'build (creates dweb-transports-bundle)'"
|
||||
},
|
||||
"version": "0.1.24"
|
||||
"version": "0.1.25"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user