Skip to content

Commit

Permalink
chore: update test case comment
Browse files Browse the repository at this point in the history
The updated comment reflects a better understanding of the RFCs.
  • Loading branch information
smlx committed Oct 3, 2024
1 parent faa70f3 commit a7bf2a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/reader/fetcher/response_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func TestIsModified(t *testing.T) {
ETag: cachedEtag,
IsModified: false,
},
// This case is invalid per RFC9110 8.8.1, so ETag takes precedence.
// ETag takes precedence per RFC9110 8.8.1.
"Last-Modified changed only": {
Status: 200,
LastModified: "Thu, 22 Oct 2015 07:28:00 GMT",
Expand Down

0 comments on commit a7bf2a5

Please sign in to comment.