open-i18n/rust-unic

Data download should ignore+log 404 responses

CAD97 opened this issue · 1 comments

CAD97 commented

https://github.com/behnam/rust-unic/blob/a2d51096c5e3f8faf727f87e716ed6db5daf04bc/data/src/client.rs#L41-L48

Rather than just take the response body and add it to the file, check response code first, and log anything that isn't 200 OK

We don't download data in UNIC anymore. :)