diff --git a/Makefile b/Makefile index 5ec2833..8e16f40 100644 --- a/Makefile +++ b/Makefile @@ -77,9 +77,12 @@ test-with-java: clean test-with-doh: clean go run . -- curl --doh-url https://cloudflare-dns.com/dns-query https://www.example.com -test-with-js: clean +test-with-node: clean go run . node experiments/js/get.js +test-with-deno: clean + go run . -- deno --allow-net experiments/deno/get.ts + test-with-self: clean go run . go run . curl https://www.example.com diff --git a/experiments/deno/get.ts b/experiments/deno/get.ts new file mode 100644 index 0000000..ea88d6f --- /dev/null +++ b/experiments/deno/get.ts @@ -0,0 +1 @@ +await fetch("https://monasticacademy.org"); \ No newline at end of file diff --git a/httptap.go b/httptap.go index f2d7854..3bd4739 100644 --- a/httptap.go +++ b/httptap.go @@ -544,6 +544,7 @@ func Main() error { "CURL_CA_BUNDLE="+caPath, "REQUESTS_CA_BUNDLE="+caPath, "SSL_CERT_FILE="+caPath, + "DENO_CERT="+caPath, "_JAVA_OPTIONS=-Djavax.net.ssl.trustStore="+caPathPKCS12, "JDK_JAVA_OPTIONS=-Djavax.net.ssl.trustStore="+caPathPKCS12, "NODE_EXTRA_CA_CERTS="+caPath,