Http Request Headers Modification

What did you expect to happen? I expected to see the modification of http request headers. What actually happened? It did not change the request header by setting "Accept" to "image/jpg,image/png". Nothing changed actually. Reproduction Steps Create a new transform rule. Have it applied to all incoming traffic (just for the sake of testing) and choose Set Static and Set "Accept" to "image/jpeg,image/png,image/jpg"
No description
8 Replies
Cyb3r-Jak3
Cyb3r-Jak310mo ago
How are you checking the request header? Server logs?
leequan
leequanOP10mo ago
Inspect element > networks > request headers
Cyb3r-Jak3
Cyb3r-Jak310mo ago
Yeah that won’t show it. The headers will be Cloudflare -> Server.
leequan
leequanOP10mo ago
I see. So is there any other way to force Cloudflare to serve image in jpg/png?
Cyb3r-Jak3
Cyb3r-Jak310mo ago
I mean the headers will be sent to the server as you have set
leequan
leequanOP10mo ago
But the image served is still in avif
neuner
neuner10mo ago
so it seems like your server isn't properly converting it you should remake the code on the server to convert it to the format you or if its some scary saas app that'll crumble when poked, you can accomplish it with a worker
leequan
leequanOP10mo ago
Well thanks!
Want results from more Discord servers?
Add your server