Closed deshipu closed 8 years ago
If you could provide full URL to reproduce (e.g., register a test appid), it would help to investigate this issue quicker.
Here's an API key you can use for testing: be33ef9a0cde9e4e9b321f0d9ccd75f2
.
Since this issue is public, I will delete it in a few days, though.
Replace the XXX
in the URL above with it.
Fixed by https://github.com/micropython/micropython/pull/2193 for me.
Works for me great now. Thank you!
Please test any other networking code you may have with this change, as it's more or less deep one.
I'm trying to use urequests to get weather data from the openweathermap.org API. I'm using the following code:
Unfortunately, that throws a
ValueError: syntax error in JSON
error. Examining the text of the response, I see that it is trucated:compared to what I get normally with a browser or wget: