-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Remove web::uri usage from public API #7834
Conversation
Did web::uri do any validation? If so, what happens now when I try to start the connection with a uri string would be an invalid web::uri? For example, does the http_client ctor start throwing? |
Yes, I believe this will throw now, as it converts the string into a |
} | ||
catch (...) | ||
{ | ||
// We shouldn't check the exact exception as it would be specific to the http library being used |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the exception with the default http library? Does it make it clear the URI is invalid?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"provided uri is invalid: :1 ä bad_uri&a=b"
93d3164
to
b558753
Compare
/azp run AspNetCore-ci |
Azure Pipelines successfully started running 1 pipeline(s). |
Also removed a couple redundant tests and enabled some of the disabled ones since they should be fixed.
Deleted some old unused code I found too.
And fixed a flaky build issue with copying a dll