Skip to content

Commit 8e0736b

Browse files
committed
fix: igore content-length for now
1 parent e04bfd7 commit 8e0736b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tooling/helpers/car.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ func StandardCARTestTransforms(t *testing.T, sts test.SugarTests) test.SugarTest
1919

2020
func applyStandardCarResponseHeaders(t *testing.T, st test.SugarTest) test.SugarTest {
2121
st.Response = st.Response.Headers(
22-
test.Header("Content-Length").
23-
Hint("CAR is streamed, gateway may not have the entire thing, unable to calculate total size").
24-
IsEmpty(),
22+
// TODO: this doesn't work well due to a Go bug for now. Since it's being applied to all tests, what do we do?
23+
// test.Header("Content-Length").
24+
// Hint("CAR is streamed, gateway may not have the entire thing, unable to calculate total size").
25+
// IsEmpty(),
2526
test.Header("X-Content-Type-Options").
2627
Hint("CAR is streamed, gateway may not have the entire thing, unable to calculate total size").
2728
Equals("nosniff"),

0 commit comments

Comments
 (0)