Files
danbooru/app/logical
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-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2019-11-09 14:42:30 -06:00
2020-06-23 23:37:56 -05:00
2019-08-01 00:06:18 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00
2020-06-16 21:36:15 -05:00