So, I could workaround this issue after some work and before close and forget this thread here forever, let me share it:
The problem:
GoPro wifi API is not fully following the HTTP protocol specifications.
Headers and body content is separated by
\n instead of
\r\n
uRequests library is very strict on response parsing, while mostly any other libraries/browser/etc handle requests with some "malformed" bodies, uRequests does not.
UIFlow IDE solution:
Upload to the Stick5C the
modified version of uRequests
0_1594223892867_Screenshot 2020-07-08 at 17.39.09.png
Override the uRequests library usage with a new import using
execute code block.
0_1594223965368_Screenshot 2020-07-08 at 17.37.42.png
From that moment on (only on this app) it will use the modified library.
No UIFlow IDE solution:
Stop using UIFlow IDE 😢
Upload to the Stick5C the
modified version of uRequests
Use Visual Studio code or any other IDE to continue the development.
Override the uRequests library usage with a new import on the code.
I hope this is useful to someone else, any suggestion is also more than welcome.
Thanks 😄