Skip to content

DefaultPageCreator: force content sniffing for */* content type#1104

Merged
rbri merged 1 commit intoHtmlUnit:masterfrom
duonglaiquang:duong_page_creator
Mar 16, 2026
Merged

DefaultPageCreator: force content sniffing for */* content type#1104
rbri merged 1 commit intoHtmlUnit:masterfrom
duonglaiquang:duong_page_creator

Conversation

@duonglaiquang
Copy link
Contributor

This PR does the following

Force content sniffing for */* response content type to make it behaves same as real browser, instead of returning UnexpectedPage.

@sonarqubecloud
Copy link

@rbri rbri merged commit 422fe17 into HtmlUnit:master Mar 16, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants