Skip to content
Discussion options

You must be logged in to vote

Note the following from the docs:

It's mandatory to close response objects as soon as you finished
working with them. On MicroPython platforms without full-fledged
OS, not doing so may lead to resource leaks and malfunction.

I think urequests.patch is a response object so maybe you need to close it:

response = urequests.patch......
response.close()

But I'm no expert in this, I just had a play with urequests some months ago.

Replies: 3 comments 10 replies

Comment options

Josverl
Oct 7, 2023
Collaborator Sponsor

You must be logged in to vote
2 replies
@mtinet
Comment options

@mtinet
Comment options

Comment options

You must be logged in to vote
4 replies
@beetlegigg
Comment options

@andrewleech
Comment options

andrewleech Oct 9, 2023
Collaborator Sponsor

@mtinet
Comment options

@mtinet
Comment options

Answer selected by mtinet
Comment options

You must be logged in to vote
4 replies
@scruss
Comment options

@mtinet
Comment options

@fdufnews
Comment options

@mtinet
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants