diff --git a/urllib.urequest/urllib/urequest.py b/urllib.urequest/urllib/urequest.py index d365eda7..72b732d6 100644 --- a/urllib.urequest/urllib/urequest.py +++ b/urllib.urequest/urllib/urequest.py @@ -1,7 +1,7 @@ import usocket def urlopen(url, data=None, method="GET"): - if data is not None and method=="GET": + if data is not None and method == "GET": method = "POST" try: proto, dummy, host, path = url.split("/", 3)