Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompt for not simple requests on Web #2201

Open
AlexV525 opened this issue Apr 23, 2024 · 2 comments
Open

Prompt for not simple requests on Web #2201

AlexV525 opened this issue Apr 23, 2024 · 2 comments
Labels
e: documentation Improvements or additions to documentation e: good for newcomers Good for newcomers p: dio Targeting `dio` package

Comments

@AlexV525
Copy link
Member

Request Statement

People usually wonder why their requests are being treated as CORS. Various of configuration could lead to the result before people can realize, such as connectTimeout and sendTimeout across platforms.

Solution Brainstorm

We might find relevant cases to add logs about "You're making a complex Web request which might lead to CORS" or add more messages when specific exceptions were thrown on the Web platform.

@AlexV525 AlexV525 added e: documentation Improvements or additions to documentation e: good for newcomers Good for newcomers p: dio Targeting `dio` package labels Apr 23, 2024
@kuhnroyal
Copy link
Member

From what I remember, there are no useful exceptions in a lot of cases. Wonder if we could add some sanity checks for common problems and provide suggestions.

@AlexV525
Copy link
Member Author

Wonder if we could add some sanity checks for common problems and provide suggestions.

Exactly, and that would be the thing we'll feel great because the community would love such sweet words

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e: documentation Improvements or additions to documentation e: good for newcomers Good for newcomers p: dio Targeting `dio` package
Projects
None yet
Development

No branches or pull requests

2 participants