On this page, https://rust-lang-nursery.github.io/rust-cookbook/web/clients/download.html#download-a-file-to-a-temporary-directory The first example doesn't an image, but it doesn't work. - Temp file isn't created (or is removed right after). - If you download image to current working directory, the image is corrupted. Should be because `.text()` is used on a binary file.