feat: add streaming mode http proxy test #258
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a single test for streaming with HTTP proxy configuration (client-side).
Ideally, the next bit of work will be..
server_side_stream_all.go
, but requires an SDK to test it)The purpose of this test is to check that an SDK can make a request via a configured HTTP Proxy.
In this mode, the SDK sends requests to the proxy, and the request body contains the intended URL that the proxy should connect to on behalf of the SDK.
Future work might be to support other proxy modes, like HTTPS proxy (where the connection between SDK and proxy is encrypted) or SOCKS4/5.