-
Notifications
You must be signed in to change notification settings - Fork 317
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(PocketIC): HTTP gateway can handle requests with IP address hosts (…
…#1025) This PR fixes PocketIC HTTP gateway to handle (/api/v2 and /api/v3) requests with IP address hosts. Implementation-wise, this PR moves the HTTP request's domain resolution from an axum middleware (applied to all requests) to the fallback handler (applied only to requests that do not target /api/v2 or /api/v3).
- Loading branch information
Showing
2 changed files
with
50 additions
and
55 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