Closed quantenschaum closed 2 years ago
Fixed in the next update via 471acd4.
I wish every issue was like that: Detailed description of the issue, a little script to simply test it and just a single line changed to fix it. Thanks for reporting this.
I followed the docs to query phyphox (on android) from python using requests. When trying to retrieve partial data the query string contains something like
accX=1.234|acc_time
. The pipe|
is used in the query string and phyphox requires the pipe not to be urlencoded, otherwise it will not return any data (sometime it does, but most of the time it does not). When using requests the url is always urlencoded (cannot be turned off), which makes the very good and popularrequests
library unusable with phyphox, unfortunately. My current workaround is to use plainurllib
.It would be great to get this fixed.
|
which does not need to be urlencodedcode example to reproduce
leads to