You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering an issue where I cannot retrieve large responses (such as JSON data) from a Flask server to a Tauri app on Android using Axios.
The error I receive is:
ERR_CONTENT_LENGTH_MISMATCH: 200 (OK).
But in chrome browser on Android it`s working correctly.
Reproduction
Set up a Flask server on a Windows machine.
The Flask server sends a large response (e.g., large JSON data) with a Content-Length header.
Create a Tauri app on Android that attempts to fetch this data using Axios.
Make a GET request from the Tauri app to the Flask server to retrieve the large data.
The request will succeed with status 200 OK, but it fails with ERR_CONTENT_LENGTH_MISMATCH in the Android app when the response is large (in my case, around 630KB or larger).
Expected behavior
The Tauri app should be able to retrieve large data successfully from the Flask server, and the response should be correctly parsed in the app without encountering any errors.
Describe the bug
I am encountering an issue where I cannot retrieve large responses (such as JSON data) from a Flask server to a Tauri app on Android using Axios.
The error I receive is:
ERR_CONTENT_LENGTH_MISMATCH: 200 (OK).
But in chrome browser on Android it`s working correctly.
Reproduction
Set up a Flask server on a Windows machine.
The Flask server sends a large response (e.g., large JSON data) with a Content-Length header.
Create a Tauri app on Android that attempts to fetch this data using Axios.
Make a GET request from the Tauri app to the Flask server to retrieve the large data.
The request will succeed with status 200 OK, but it fails with ERR_CONTENT_LENGTH_MISMATCH in the Android app when the response is large (in my case, around 630KB or larger).
Expected behavior
The Tauri app should be able to retrieve large data successfully from the Flask server, and the response should be correctly parsed in the app without encountering any errors.
Full
tauri info
outputStack trace
Additional context
No response
The text was updated successfully, but these errors were encountered: