mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-16 07:30:01 -04:00
fix url handling and websockets
This commit is contained in:
parent
0cab209e9d
commit
2e6fba2c3b
8 changed files with 67 additions and 13 deletions
|
@ -7,5 +7,5 @@ async function test() {
|
|||
libcurl.stderr = out_callback;
|
||||
await libcurl.fetch("https://example.com/", {_libcurl_verbose: 1});
|
||||
console.log(output);
|
||||
assert(output[0] === "* Host example.com:443 was resolved.", "unexpected output in stderr");
|
||||
assert(output[0].includes("* Host example.com"), "unexpected output in stderr");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue