We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This issue was originally filed by kaisellgren@gmail.com
I'm trying to read URIs such as http://devblog.paypal.com/feed/ that lead to a bad certificate exception.
Can we add a callback to handle bad certificates in the HTTP package? For .get, .read, etc.?
Simplest reproduce step is: http.read('http://devblog.paypal.com/feed/');
The text was updated successfully, but these errors were encountered:
Added Pkg-Http, Area-Pkg, Triaged labels.
Sorry, something went wrong.
This comment was originally written by f41ltastic...@gmail.com
If this was triaged, I don't see where.
In dart.io the HttpClient have a callback to handle bad certificates, e.g.
import 'dart:io'; import 'dart:convert';
void main(List<String> args) { var client = new HttpClient(); client.badCertificateCallback = (_, __, ___) => true; client.getUrl(Uri.parse("http://devblog.paypal.com/feed/")) .then((req) => req.close()) .then((resp) => resp.transform(UTF8.decoder).join('')) .then(print) .whenComplete(() => client.close()); }
Issue #20832 has been merged into this issue.
This issue has been moved to dart-lang/http#14.
No branches or pull requests
This issue was originally filed by kaisellgren@gmail.com
I'm trying to read URIs such as http://devblog.paypal.com/feed/ that lead to a bad certificate exception.
Can we add a callback to handle bad certificates in the HTTP package? For .get, .read, etc.?
Simplest reproduce step is: http.read('http://devblog.paypal.com/feed/');
The text was updated successfully, but these errors were encountered: