Skip to content

Commit

Permalink
add common binary content types
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo82148 committed Feb 2, 2024
1 parent 67240ae commit 7d323f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ridgenative_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -965,6 +965,10 @@ func TestIsBinary(t *testing.T) {
{"application/foo+xml", false},
{"application/foo+xml ; charset=utf8", false},
{"application/octet-stream", true},
{"image/jpeg", true},
{"audio/mpeg", true},
{"unknown-content-type", true},
{"", true},
}

for _, tt := range tests {
Expand Down

0 comments on commit 7d323f4

Please sign in to comment.