-
Notifications
You must be signed in to change notification settings - Fork 38.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revisit request parameters access with HtmlUnit
Prior to this commit, the `HtmlUnitRequestBuilder` would "translate" HtmlUnit web requests into Servlet requests using APIs that were not clearly defined and meant for internal usage. HtmlUnit 2.64.0 introduced a new `.getParameters()` API for collecting `NameValuePair` parsed from the request URI or request body, depending on the nature of the request. This arrangement is much more stable and in line with HtmlUnit's expectations. This commit uses this new API and makes HtmlUnit 2.64.0 a new minimum requirement for using HtmlUnit integration with Spring Framework. This also removes tests that were previously testing HtmlUnit's behavior and using the API now marked as internal. Closes gh-28240
- Loading branch information
Showing
4 changed files
with
125 additions
and
258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.