Closed
Description
Hi there,
when invoking the urequests
module on CPython, it will croak with
TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'str'
when starting to write to the socket stream:
s.write(b"%s /%s HTTP/1.0\r\n" % (method, path))
This has also been reported on adafruit/Adafruit_CircuitPython_Requests#10 and was fixed by adafruit/Adafruit_CircuitPython_Requests#11.
With kind regards,
Andreas.
Metadata
Metadata
Assignees
Labels
No labels