Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
Hi,when using the somewhat exotic but not forbidden Accept header[CODE]Accept: */*, image/avif[/CODE]on a text/html output (for example the forum homepage) Xenforo produces a 406 error.This is not the case when using either[CODE]Accept: */*, text/html, image/avif[/CODE] or[CODE]Accept: */*[/CODE]which both return a 200 code as expected.I can understand that the header combination "Accept: /, image/avif" implies that an image is expected, however referring to RFC 7231 the wildcard "/" should always return a 200 code when requesting text/html content.
Hi,
when using the somewhat exotic but not forbidden Accept header
[CODE]Accept: */*, image/avif[/CODE]
on a text/html output (for example the forum homepage) Xenforo produces a 406 error.
This is not the case when using either
[CODE]Accept: */*, text/html, image/avif[/CODE]
or
[CODE]Accept: */*[/CODE]
which both return a 200 code as expected.
I can understand that the header combination "Accept: /, image/avif" implies that an image is expected, however referring to RFC 7231 the wildcard "/" should always return a 200 code when requesting text/html content.
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences