Greg Ewing wrote: > Perhaps the constructor for a byte array could accept a string > argument as long as it contained only ascii characters? > > h.putrequest(bytes('GET'), selector) That is probably most reasonable. It would be harmless to extend it to Latin-1, which would allow to represent all byte values in a string literal - even using the appropriate \x escapes. Regards, Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4