camallo / dkregistry-rs

A pure-Rust asynchronous library for Docker Registry API v2
Apache License 2.0
62 stars 39 forks source link

v2: switch version probing to reqwest #90

Closed lucab closed 5 years ago

lucab commented 5 years ago

This changes the v2 probing logic to use the reqwest client, in order to better support redirection.

Closes: https://github.com/camallo/dkregistry-rs/issues/89

lucab commented 5 years ago

@steveeJ I was on a plane when writing this, so didn't realize you had https://github.com/camallo/dkregistry-rs/pull/91 in parallel. Feel free to take the bits you can re-use from here, and then close this PR. I'll review #91 when ready, no hurry, and sorry for the duplication.