We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d284d71 commit ab9c386Copy full SHA for ab9c386
1 file changed
lib/resty/openidc.lua
@@ -1302,7 +1302,7 @@ local function request_prefers_png_over_html()
1302
end)
1303
1304
for _, a in ipairs(accepted) do
1305
- if a.media_range:find("text/html") then
+ if a.media_range:find("text/html") or a.media_range:find("application/xhtml%+xml") then
1306
return false
1307
end
1308
if a.media_range:find("image/png") then
0 commit comments