unit icon indicating copy to clipboard operation
unit copied to clipboard

npm: unit-http: should we replace the https package as well?

Open javorszky opened this issue 1 year ago • 0 comments

Issue #1013 revealed a bug where imports with signature node:http weren't replaced.

The current npm package unit uses as a custom loader looks for the http and websocket packages. Node applications do have the option to import the https package as well, which also has a .listen() method.

Do we need to replace the built in node https package with a unit specific https package, or will the underlying http package take care of the unit specific functionality as well?

javorszky avatar Dec 12 '23 15:12 javorszky