Commit 8d659a9
committed
test: assert IPv6 redirect is followed and cover the no-userinfo path
Capture the reissued response in the IPv6 userinfo-stripping test and assert
the redirect was followed exactly once (status 200, two calls) so a regression
that skips the reissue fails with a clear message instead of an
IndexOutOfBoundsException on fake.requests[1].
Add a sibling test for an IPv6 literal Location with no userinfo, exercising
the pass-through (no-rebuild) branch and confirming the bracketed host, port,
path, and query survive there too.1 parent dc50897 commit 8d659a9
1 file changed
Lines changed: 39 additions & 1 deletion
Lines changed: 39 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
984 | 984 | | |
985 | 985 | | |
986 | 986 | | |
987 | | - | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
988 | 993 | | |
989 | 994 | | |
990 | 995 | | |
| |||
997 | 1002 | | |
998 | 1003 | | |
999 | 1004 | | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
1000 | 1038 | | |
1001 | 1039 | | |
1002 | 1040 | | |
| |||
0 commit comments