cyzyvos
cyzyvos
Explore posts from servers
DDeno
Created by cyzyvos on 9/22/2023 in #help
setting a cookie for import requests
is there a way to modify request headers or set cookies for the GET requests that deno makes when resolving imports? concrete use case: I want to test a library that is served by a local static file server on my machine and forwarded through vs code's tunnel feature – but without a specific cookie, the tunnel serves a safety warning instead of the forwarded content.
4 replies