1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

9 commits

Author SHA1 Message Date
David Heinemeier Hansson
8f125d5b79 Merge pull request #21 from jeremy/disk-binary-io
Disk service: use binary IO throughout, not UTF-8
2017-07-09 00:24:25 +02:00
Jeremy Daer
03120ecb50
Disk storage: ensure URLs end with the blob filename since some user agents don't respect Content-Disposition filename 2017-07-08 15:15:21 -07:00
Jeremy Daer
92a4f5b3f4
Disk service: use binary IO throughout, not UTF-8 2017-07-08 15:11:27 -07:00
David Heinemeier Hansson
894e1e3183 Check integrity after uploads 2017-07-06 16:01:11 +02:00
David Heinemeier Hansson
8d17bb4bb0 Need the byte helpers 2017-07-06 15:41:22 +02:00
David Heinemeier Hansson
152c4b0724 Compute checksum and byte_size client side
Then we can add integrity checks on uploads to prevent errors in
transport.
2017-07-06 15:38:01 +02:00
David Heinemeier Hansson
0ed18d9671 This is even more explaining and upload/download don't have some inherent need to synchronize chunk sizes anyway 2017-07-06 15:35:48 +02:00
David Heinemeier Hansson
f3aba78ce8 Convert magic number to constant 2017-07-06 15:22:40 +02:00
David Heinemeier Hansson
35d5bddabc Rename from Site to Service now that we're called Active Storage 2017-07-06 12:22:44 +02:00
Renamed from lib/active_storage/site/disk_site.rb (Browse further)