evazion
5ad06a4034
Fix #3552 : Upload filesize limits can be bypassed.
...
* Change `http_get_streaming` to write the output file directly,
instead of taking a callback.
* Track the filesize as the download progresses and abort when it
exceeds the limit.
* Don't save the Content-Type (it's not used anywhere).
2018-02-27 18:22:34 -06:00
r888888888
c2b49bf2b7
fixes #3293
2017-09-13 11:14:35 -07:00
r888888888
ee6581ab7f
restore streaming behavior for Downloads::File#http_get_streaming
2017-07-13 15:31:29 -07:00
Albert Yi
0ea7d78584
remove usage of vcr cassettes; delete unused fixtures; fix some broken unit tests
2016-12-28 15:47:28 -08:00
r888888888
fc7afd44ea
refactor source pixiv test
...
refactor pixiv download tests
refactor upload test
refactor nico seiga test
refactor twitter tests
2016-09-28 11:25:29 -07:00
r888888888
8d4c9d7955
fix pixiv tests
2014-10-22 17:22:36 -07:00
r888888888
3bb06c2be4
integrate ugoiras into zip+webm+preview
2014-10-19 02:30:02 -07:00
evazion
268f79c3d9
Make VCR disallow unexpected HTTP requests.
...
This makes it so that tests fail when they make HTTP requests they
aren't expected to. Update these tests so that they use VCR like they
should.
2014-10-04 12:45:37 -05:00
albert
d1127da13f
add test case for download retry
2013-03-22 19:15:12 -04:00
小太
cba839ba76
Kill trailing whitespace in ruby files
2013-03-19 23:10:10 +11:00
Peter Graham
4330e85b17
Support HTTPS in Downloads::File#http_get_streaming
2013-02-22 23:07:34 -08:00
albert
aa2b65c48b
tinami/pixa downloads now supported
2011-09-30 14:27:04 -04:00