-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Various fixes to make http-recorder usable again. (#2983)
As it stands, http-recorder only works with GET requests without a body. This situation is caused by two issues: - The hash code of the body is not computed correctly. `Arrays.hashcode` should be used to compute an hash code over the content of the array as the `hashcode` method on the array itself only relies on the address of the object. - `RedirectToRxEndpoint` only exposes a `GET` endpoint. No other verbs can pass-through. I don't know if there's a better way to fix it, but the quick fix I'm proposing works.
- Loading branch information
1 parent
a7149a3
commit aacb665
Showing
4 changed files
with
52 additions
and
6 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
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