Subject: | inconsistent value for success on 304 status code |
If you call the mirror() method, and the remote file hasn't been modified,
you get back a 304 response, and the success field is set to true.
But if you make an explicit GET request and add an If-Modified-Since method,
you'll get 304, but success will be false.
This inconsistency surprised me. I think the latter case should be deemed a success,
as the operation has been a success.
Either way you still need to check status code to see whether it was a 304.