Skip to content

Commit e8fd11d

Browse files
committed
Issue 148: Fix invalid JsonHttpContentType
1 parent b0a3166 commit e8fd11d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/splunk/logging/HttpEventCollectorSender.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class HttpEventCollectorSender extends TimerTask implements HttpEventColl
4242
private static final String AuthorizationHeaderScheme = "Splunk %s";
4343
private static final String HttpEventCollectorUriPath = "/services/collector/event/1.0";
4444
private static final String HttpRawCollectorUriPath = "/services/collector/raw";
45-
private static final String JsonHttpContentType = "application/json; profile=urn:splunk:event:1.0; charset=utf-8";
45+
private static final String JsonHttpContentType = "application/json; profile=\"urn:splunk:event:1.0\"; charset=utf-8";
4646
private static final String PlainTextHttpContentType = "plain/text; charset=utf-8";
4747
private static final String SendModeSequential = "sequential";
4848
private static final String SendModeSParallel = "parallel";

0 commit comments

Comments
 (0)