Closed unsuitable001 closed 3 years ago
Edit: I thought that it's only happening on Flutter Linux. But, NO! It's also happening on Dart CLI on Linux. Just the difference is, in Dart CLI, no exception is thrown. Only first few bytes are getting omitted.
ead></head><body><header>
<title>http://info.cern.ch</title>
</header>
(REDACTED)
Notice that ead>
. It should be <head>
but <h
isn't decoded properly.
When using the alternate api (callback based one - introduced in this library), everything gets decoded correctly. This problem only occurs when we're using it like dart:io
style API.
In android, both the approach works fine!
[Flutter Linux] FormatException if data is fetched for the first time. But, if data is fetched later, suppose on a button click, there is no such error and data is fetched and displayed accurately.