You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is fine until your key or value length gets around 64 or so. At that point the codecs approach will insert a linefeed to break lines into a certain max length.
The Python streaming example at https://github.com/oracle/oci-python-sdk/blob/master/examples/stream_example.py uses the codecs library to perform base64 encoding.
This is fine until your key or value length gets around 64 or so. At that point the codecs approach will insert a linefeed to break lines into a certain max length.
This, in turn, causes a message of the form:
This may be considered a backend glitch in the streaming service, not sure.
Anyway it's straightforward to be more robust at the Python level by using the base64 library instead as in:
I can confirm that this does not produce linefeeds and allows larger values to be streamed in.
The text was updated successfully, but these errors were encountered: