Skip to content

Commit

Permalink
feat: add ETag check
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Jun 8, 2023
1 parent 08f913f commit 867e48e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tooling/helpers/car.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ func applyStandardCarResponseHeaders(t *testing.T, st test.SugarTest) test.Sugar
test.Header("Content-Disposition").
Hint(`Expected content disposition to be attachment; filename="*.car"`).
Matches(`attachment; filename=".*\.car"`),
test.Header("Etag").
Hint("Etag must be present for caching purposes").
Not().IsEmpty(),
)
return st
}
Expand Down

0 comments on commit 867e48e

Please sign in to comment.