Commit Graph

9 Commits

Author SHA1 Message Date
rubyist
efdcb06b85 Remove unused Upload() function, fix upload tests to use new functions 2015-05-27 16:57:09 -04:00
rubyist
2b1d10da9e Drain readers when not uploading file so progress bars can update
An easy way to keep upload progress bars up to date when the file
doesn't need to be uploaded is to just drain the callback reader into
ioutil.Discard.
2015-04-30 11:43:04 -04:00
rubyist
d9c36fa872 Fix tests, don't run the queue if it's a dry run push 2015-04-24 11:56:22 -04:00
Rick Olson
430d95650c support redirects on POST requests 2015-03-26 12:46:33 -06:00
Rick Olson
d743ff4db2 Upload() looks for http 200, not 202 2015-03-21 11:28:33 -06:00
Rick Olson
cbf8a83eb3 test CopyCallback in Upload() 2015-03-20 12:01:43 -06:00
Rick Olson
3b408a0d64 test that Upload() skips the PUT on a 202 status 2015-03-20 11:13:16 -06:00
Rick Olson
4872f51eea more client upload and download tests 2015-03-19 20:56:56 -06:00
Rick Olson
cd87658cb1 implement uploads and downloads 2015-03-19 19:55:40 -06:00