Commit 9ac0bc3
committed
feat(ie-net): implement HTTPS client with redirects and security #5
Working HTTP/HTTPS client using hyper + rustls with:
- Redirect following (301/302/303/307/308) with cycle detection
- HTTPS-only mode (blocks plain HTTP by default)
- HTTPS→HTTP downgrade protection
- Configurable timeout and max redirects
- 17 unit tests + 1 ignored live integration test1 parent a386c29 commit 9ac0bc3
8 files changed
Lines changed: 516 additions & 7 deletions
File tree
- crates/ie-net
- src
- tests
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
0 commit comments