You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 13, 2026. It is now read-only.
Several times during testing while using the urequests library i get a BadStatusLine Error in Thonny, the line below this error message is [] after checking my server log files a 200 status code was sent
try:
if not data:
r=urequest.get(page)
else:
r=urequest.post(page,data=json_encode(data),headers={"Content-type":"application/json"})
except BadStatusLine:
#No idea why this happens, line is returned as []
#My server log files disagree
print("ERROR: BadStatusLine; Ignore")
except Exception as e:
print("ERROR:",e)
in my use case i have a input polling loop running on core 0 and uasyicio running on core 1 via _thread, urequests is called from core 1