@sap-ux/axios-extension 1.20.1 → 1.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.adoc +10 -0
- package/package.json +1 -1
package/README.adoc
CHANGED
|
@@ -126,6 +126,16 @@ To enable support for TLS (Transport Layer Security) connections when using `HTT
|
|
|
126
126
|
export TOOLSUITE_FEATURES=sap.ux.enablePatchProxy
|
|
127
127
|
export HTTPS_PROXY=<YOUR-PROXY:PORT>
|
|
128
128
|
```
|
|
129
|
+
|
|
130
|
+
In order to support credentials in the proxy URL, you can set the `HTTPS_PROXY` environment variable to include the username and password in the URL. For example:
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
export TOOLSUITE_FEATURES=sap.ux.enablePatchProxy
|
|
134
|
+
export HTTPS_PROXY=http://user:password@proxy.domain.com:3128
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
Ensure you restart any running processes to apply the changes.
|
|
138
|
+
|
|
129
139
|
Example Scenario
|
|
130
140
|
|
|
131
141
|
If you're using a proxy server to route your HTTPS traffic, the proxy server will need to create a secure, TLS-encrypted connection to the target server on your behalf. `tls.connect()` will be used to establish that encrypted tunnel between your client, the proxy, and the server.
|
package/package.json
CHANGED