Skip to content
This repository was archived by the owner on Jan 13, 2026. It is now read-only.
This repository was archived by the owner on Jan 13, 2026. It is now read-only.

BadStatusLine Error #19

@GM-Script-Writer-62850

Description

@GM-Script-Writer-62850

Board: W5500-EVB-PICO
FW: v2.0.0 firmware.uf2

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions