Closed dzziwny closed 1 year ago
I believe this issue may have been mis-filed? This is a package used to parse html source into a DOM - https://github.com/dart-lang/html#usage.
There's nothing around parsing html. In the example, there is a HTTP call, that should return 200, but fails without a clear reason. Is the example work for you @devoncarew? If you call both urls from postman or browser, you'll get 200. Why from dart one of them fails?
In the example code of flutter app, there is a working and not working url.
In working case, app prints
200
, In not working case[object ProgressEvent]
with parameter inside:<error>: <getObject: Unexpected error from chrome devtools:>
Here is also a dartpad example with similar problem - https://dartpad.dev/?id=fb517ae8faa4e1dacd59e627e231bd83.
This is a minimalistic example, in a production app we have a problem with all responses that has no successful status code.