Updated, webpacked and deployed

This commit is contained in:
Mitra Ardron 2018-11-11 16:37:03 -08:00
parent e1daaf5f9c
commit b6a71fa4ba
3 changed files with 4 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -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);

View File

@ -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"
}