Files
danbooru/test/unit
evazion 4074cc99f9 uploads: fix incorrect remote sizes on pixiv uploads.
Bug: the uploads page showed a remote size of 146 bytes for Pixiv uploads.

Cause: we didn't spoof the Referer header when making the HEAD request
for the image, causing Pixiv to return a 403 error.

Also fix the case where the Content-Length header is absent.
2020-06-24 03:02:45 -05:00
..
2020-06-21 11:59:51 -05:00
2020-03-21 21:07:35 -05:00
2020-03-20 18:03:00 -05:00
2020-06-20 00:20:39 -05:00
2020-04-21 00:31:16 -05:00
2020-03-21 21:07:35 -05:00
2020-03-21 21:07:35 -05:00
2020-06-11 01:02:01 -05:00
2020-03-21 21:07:35 -05:00
2020-02-23 17:52:38 -06:00
2020-04-06 14:13:22 -05:00