Files
danbooru/app/views
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-03-25 18:48:42 -05:00
2020-06-02 23:30:15 -05:00
2020-06-16 12:58:41 -05:00
2020-01-31 02:43:07 -06:00
2020-06-16 12:58:41 -05:00