… | |
… | |
1333 | snippets. |
1333 | snippets. |
1334 | |
1334 | |
1335 | =head2 HTTP/1.1 FILE DOWNLOAD |
1335 | =head2 HTTP/1.1 FILE DOWNLOAD |
1336 | |
1336 | |
1337 | Downloading files with HTTP can be quite tricky, especially when something |
1337 | Downloading files with HTTP can be quite tricky, especially when something |
1338 | goes wrong and you want tor esume. |
1338 | goes wrong and you want to resume. |
1339 | |
1339 | |
1340 | Here is a function that initiates and resumes a download. It uses the |
1340 | Here is a function that initiates and resumes a download. It uses the |
1341 | last modified time to check for file content changes, and works with many |
1341 | last modified time to check for file content changes, and works with many |
1342 | HTTP/1.0 servers as well, and usually falls back to a complete re-download |
1342 | HTTP/1.0 servers as well, and usually falls back to a complete re-download |
1343 | on older servers. |
1343 | on older servers. |