Skip to content

Add onBadCertificate callback to HttpClient #9689

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

Closed
sgjesse opened this issue Apr 5, 2013 · 6 comments
Closed

Add onBadCertificate callback to HttpClient #9689

sgjesse opened this issue Apr 5, 2013 · 6 comments
Assignees
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-io
Milestone

Comments

@sgjesse
Copy link
Contributor

sgjesse commented Apr 5, 2013

Somehow support onBadCertificate for HttpClient. See https://code.google.com/p/dart/issues/detail?id=9675.

@sgjesse
Copy link
Contributor Author

sgjesse commented Apr 5, 2013

Marked this as blocking #9675.

@sgjesse
Copy link
Contributor Author

sgjesse commented May 28, 2013

Removed this from the M5 milestone.
Added this to the M6 milestone.

@sgjesse
Copy link
Contributor Author

sgjesse commented Jul 23, 2013

Set owner to @whesse.

@whesse
Copy link
Contributor

whesse commented Jul 23, 2013

Because this callback will be called before the OpenUrl call returns with an HttpRequest, the callback will need to be set globally on the HttpClient object, and will be called back with the url that was connected to, and the bad certificate object. The the callback can return with a boolean that says whether to accept or reject the certificate.

@whesse
Copy link
Contributor

whesse commented Aug 14, 2013

Fixed in https://code.google.com/p/dart/source/detail?r=26110


Added Fixed label.

@kevmoo
Copy link
Member

kevmoo commented May 14, 2014

Removed Area-IO label.
Added Area-Library, Library-IO labels.

@sgjesse sgjesse added Type-Defect area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-io labels May 14, 2014
@sgjesse sgjesse added this to the M6 milestone May 14, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-io
Projects
None yet
Development

No branches or pull requests

3 participants