Commit 7281078
fix: gateway conformance improvements (#85)
* feat: resolve IPFS_NS_MAP with @multiformats/dns
* fix: various fixes to gateway conformance
* fix: gateway-conformance expects 301 to path
* fix: gateway conformance subdomain handling
* fix: more testgatewaysubdomain passing tests
* fix: more testgatewaysubdomain passing tests
* fix: some redirect and url parsing
* test: make sure test constructs proper unixfs data
* fix: more gwc improvements for testgatewaysubdomains
* test: some adjustments of default tests enabled
* test: adjust total success expectation
* test: update latest sucess rates
* test: update 'all' test success rate and remove reverse proxy
* fix: pass datastore and blockstore to helia instance
* chore: lint fix and header types
* deps: update deps
* chore: modify log prefixes slightly
* chore: cleanup and re-enable tests not timing out
* fix: pull out fetch->nodejs header logic
* chore: apply suggestions from code review
* chore: lint fix after gh pr suggestions
* chore: apply suggestions from code review
Co-authored-by: Daniel Norman <1992255+2color@users.noreply.github.com>
* chore: apply suggestions from code review
Co-authored-by: Daniel Norman <1992255+2color@users.noreply.github.com>
* test: add handle-redirects tests
* chore: fix build after applying pr suggestions
---------
Co-authored-by: Daniel Norman <1992255+2color@users.noreply.github.com>1 parent 3579844 commit 7281078
19 files changed
Lines changed: 742 additions & 348 deletions
File tree
- packages
- gateway-conformance
- src
- fixtures
- interop
- verified-fetch
- src
- utils
- test
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
21 | | - | |
22 | | - | |
23 | | - | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
34 | 32 | | |
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
39 | 37 | | |
40 | | - | |
41 | 38 | | |
42 | 39 | | |
43 | 40 | | |
44 | 41 | | |
45 | 42 | | |
46 | | - | |
47 | 43 | | |
48 | 44 | | |
49 | 45 | | |
50 | 46 | | |
51 | 47 | | |
52 | 48 | | |
53 | 49 | | |
54 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
55 | 53 | | |
56 | 54 | | |
57 | | - | |
58 | | - | |
| 55 | + | |
| 56 | + | |
59 | 57 | | |
60 | 58 | | |
61 | 59 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
55 | 57 | | |
| 58 | + | |
56 | 59 | | |
57 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
58 | 64 | | |
59 | | - | |
60 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
61 | 69 | | |
| 70 | + | |
| 71 | + | |
62 | 72 | | |
63 | | - | |
| 73 | + | |
| 74 | + | |
64 | 75 | | |
65 | | - | |
| 76 | + | |
| 77 | + | |
66 | 78 | | |
67 | 79 | | |
68 | 80 | | |
| |||
0 commit comments