asyncio and GET: Unexpected UTF-8 BOM #6599
Unanswered
afogarty85
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Update
My asyncio powered GET requestor is giving me issues today, but only for certain workItem requests that it makes.
It is not a particular workItem that is causing the issue. I can retrieve a single workItem and then run the same function again and get rejected with the error:
Unexpected UTF-8 BOM (decode using utf-8-sig): line 1 column 1 (char 0)
The line that triggers the error is:
workItem = await resp.json()
in this function:How might I try to solve this decoding issue?
Beta Was this translation helpful? Give feedback.
All reactions