MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
Rewrite rule ignored by webpagetest?
Current time: 01-24-2021, 03:41 AM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rewrite rule ignored by webpagetest?
01-08-2021, 04:22 AM
Post: #1
Rewrite rule ignored by webpagetest?
In our Windows Server 2019 IIS 10 site's web.config using HTTP/2 protocol we have a rewrite rule:
<rule name="Prioritize Brotli" enabled="true">
    <match url=".*" />
        <add input="{HTTP_ACCEPT_ENCODING}" pattern="\bbr(?!;q=0)\b" />
        <set name="HTTP_ACCEPT_ENCODING" value="br" />
And yet the Request for many objects still shows this, for example:
:path: /cms/content/fonts/Montserrat/Montserrat-ExtraBold.otf
accept-language: en-US,en;q=0.9
accept-encoding: gzip, deflate, br
sec-fetch-site: same-origin
accept: */*
user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36 PTST/210106.200150
:scheme: https
sec-fetch-mode: cors
:method: GET
sec-fetch-dest: font
What gives? I understood the rewrite rule will change the incoming accepted encoding to just show "br", isn't that right?
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
Rewrite rule ignored by webpagetest? - Mushu - 01-08-2021 04:22 AM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)