| commit | 63469154e8d32b515ddca68df8526c2eacc45374 | [log] [tgz] |
|---|---|---|
| author | Bailey Kuo <formosa@google.com> | Tue Jun 24 14:01:15 2025 -0700 |
| committer | Bailey Kuo <formosa@google.com> | Tue Jun 24 14:03:59 2025 -0700 |
| tree | 1b0361ca6fbc2b44b3c283528f04bbf981c5de3e | |
| parent | b544da90f9c891aadb0dfb42305892d8737d4e26 [diff] |
test(http-proxy): Add unit test for port 80 connect Adds a unit test to the `http-proxy` crate to cover the untested code path in the `connect` function that handles connections to port 80. This test verifies that the `Connector` correctly rewrites HTTP requests to `absolute-form` when connecting to port 80, ensuring that the header rewriting logic is working as expected. Change-Id: I0b0dd815534e36d2b75db76b15ddca339fdac0d1