Skip to content

Commit 605e45a

Browse files
committed
Fixing failing tests
1 parent 6a1ff35 commit 605e45a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sources/splunk_hec/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ impl SplunkSource {
543543
.as_ref()
544544
.and_then(|v| v.to_str().ok())
545545
.map(|h| h.to_ascii_lowercase().contains("application/json"))
546-
.unwrap_or(false);
546+
.unwrap_or(true);
547547

548548
if !ok {
549549
return Err(warp::reject::custom(ApiError::UnsupportedContentType));

0 commit comments

Comments
 (0)