Commit 94043a4
committed
Add comprehensive test harness with env var support
Add test/test_proxy_headers.js with full feature parity to Python:
- PROXY_URL, TEST_URL for basic configuration
- PROXY_HEADER for checking specific response header
- SEND_PROXY_HEADER, SEND_PROXY_VALUE for sending headers to proxy
- -v/--verbose, -l/--list, -h/--help flags
- Tests for all supported libraries: core, axios, node-fetch, got, undici, superagent
Made-with: Cursor1 parent ce71e79 commit 94043a4
3 files changed
Lines changed: 481 additions & 177 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
This file was deleted.
0 commit comments