What type of PR is this?
/kind bug
What this PR does / why we need it:
This PRs will read environment variables assigned for proxy and no_proxy.
Update ws_client_test.py
Update configuration.py
What type of PR is this?
/kind bug
What this PR does / why we need it:
This PRs will read environment variables assigned for proxy and no_proxy.
Update configuration.py
Add debug logging doc and example
add .readthedocs.yaml config file
Added
Added insert_proxy_config.sh to edit configuration.py in client
Revert "Added insert_proxy_config.sh to edit configuration.py in client"
This reverts commit b295c2ddcbb838196823c4d7a55a67fd1d1dc290.
To avoid condition self.no_proxy is already present
Currently, under python 3, the WSClient decodes all data via UTF-8. This
will break, e.g. capturing the stdout of tar or gzip.
This adds a new 'binary' kwarg to the WSClient class and websocket_call
function. If this is set to true, then the decoding will not happen, and
all channels will be interpreted as binary.
This does raise a slight complication, as the OpenAPI-generated client
will convert the output to a string, no matter what, which it ends up
doing by (effectively) calling repr(). This requires a bit of magic to
recover the orignial bytes, and is inefficient. However, this is only
the case when using the default _preload_content=True, setting this to
False and manually calling read_all or read_channel, this issue does not
arise.
When eventlet is monkey patched, select.poll is removed since
it is not thread safe. So check availability of `poll` method
before using it.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>