micropython-lib
micropython-lib copied to clipboard
requests: Added support for some non-standard URLs
In some cases, servers may return non-standard URLs like https://ecard.v.zzu.edu.cn?tid=xxxx in "Location" line, which could not be properly treated since there are no slashes between hostname and remote path. So I added my code to separate remote path from hostname.