Skip to content
New issue

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

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

Already on GitHub? # 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

# for free to join this conversation on GitHub. Already have an account? # 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