Files
danbooru/test/unit/sources
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-05-21 22:46:51 +02:00
2020-05-21 22:46:51 +02:00
2020-05-11 19:51:04 +02:00
2020-05-28 01:05:11 +02:00