Hugo Locurcio dd4fe8588b
Fix occasional crash when downloading assets from the Asset Library
This is caused by GitHub not publishing a Content-Length header in
all cases (it only does so if the file was requested recently),
which in turn made `String.humanize_size()` try to humanize a size of
-1 byte (as returned by HTTPRequest when no Content-Length
is contained in the response).
This crashed the editor due to a division by zero.

This closes #21200.
2018-08-20 20:21:56 +02:00
..
2018-05-11 21:37:08 +02:00
2018-08-13 21:52:38 +03:00
2018-08-13 21:52:38 +03:00
2018-08-19 19:24:39 +01:00
2018-08-19 19:24:39 +01:00
2018-05-15 17:14:31 -03:00
2018-08-18 14:34:42 +02:00