optimizely/javascript-sdk

node_request_handler.ts does not support HTTP

opti-jnguyen opened this issue · 1 comments

Closed, unnecessary change.


node_request_handler throws an unsupported protocol error when attempting to test with HTTP protocol based endpoints, such as localhost.

Consider enabling HTTP protocol based endpoints for these requests.

Suggested path of implementation:

  • Refer to other nodeRequest.ts files and copy their implementation using conditionals for HTTP vs. HTTPS requests.