Pages redirect missing .html extension file name issue

I am hosting some static .html web pages on CF Pages.
When I browse the page, eg.
https://mypaage.pages.dev/test.html
It always redirects to https://mypaage.pages.dev/test
The extension file name is missing.
How to avoid this behavior?