The Free Penguin@lemmygrad.ml to Comradeship // Freechat@lemmygrad.ml • 4 months agoCan yall fix your picture server?message-squaremessage-square15 fedilinkarrow-up131file-text
arrow-up131message-squareCan yall fix your picture server?The Free Penguin@lemmygrad.ml to Comradeship // Freechat@lemmygrad.ml • 4 months agomessage-square15 Commentsfedilinkfile-text
minus-squareloathsome dongeater@lemmygrad.mlhexbear7·4 months agoI am assuming by server you mean pict-rs. Is there a reason you think why pict-rs assumes valid requests are malformed? linkfedilink
minus-squareThe Free Penguin@lemmygrad.mlhexagonhexbear5·edit-24 months agoGET https://lemmygrad.ml/pictrs/image/219c5656-9cb1-4f85-af6d-01581f997dd6.png Accept text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8 Accept-Encoding gzip, deflate, br Accept-Language en-US,en;q=0.5 Connection keep-alive Cookie <Cookie censored> Host lemmygrad.ml Referer https://lemmygrad.ml/ Sec-Fetch-Dest document Sec-Fetch-Mode navigate Sec-Fetch-Site same-origin Sec-Fetch-User ?1 Upgrade-Insecure-Requests 1 User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0 Here are the request headers. This is a perfectly valid requests. Please change your server settings to process these requests rather than throwing 400s. linkfedilink
minus-squareloathsome dongeater@lemmygrad.mlhexbear6·4 months agoThanks. I'll look into it tomorrow. linkfedilink
minus-squaredavel [he/him]@lemmygrad.mlhexbear3·edit-24 months agoHuh? $ curl -o /dev/null -s -w "%{http_code}\n" https://lemmygrad.ml/pictrs/image/219c5656-9cb1-4f85-af6d-01581f997dd6.png 200 $ It looks like your Accept is lacking image/png; maybe that’s the issue? linkfedilink
I am assuming by server you mean pict-rs. Is there a reason you think why pict-rs assumes valid requests are malformed?
GET
https://lemmygrad.ml/pictrs/image/219c5656-9cb1-4f85-af6d-01581f997dd6.png
Accept
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8
Accept-Encoding
gzip, deflate, br
Accept-Language
en-US,en;q=0.5
Connection
keep-alive
Cookie
<Cookie censored>
Host
lemmygrad.ml
Referer
https://lemmygrad.ml/
Sec-Fetch-Dest
document
Sec-Fetch-Mode
navigate
Sec-Fetch-Site
same-origin
Sec-Fetch-User
?1
Upgrade-Insecure-Requests
1
User-Agent
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
Here are the request headers. This is a perfectly valid requests. Please change your server settings to process these requests rather than throwing 400s.
Thanks. I'll look into it tomorrow.
Huh?
$ curl -o /dev/null -s -w "%{http_code}\n" https://lemmygrad.ml/pictrs/image/219c5656-9cb1-4f85-af6d-01581f997dd6.png 200 $
It looks like your
Accept
is lackingimage/png
; maybe that’s the issue?