Skip to content

Commit 3515663

Browse files
committed
HClient - change default mime type to text/zinc
1 parent c2bdafe commit 3515663

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/main/java/org/projecthaystack/client/HClient.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ private String postString(String uriStr, String req, String mimeType)
596596
c.setDoOutput(true);
597597
c.setDoInput(true);
598598
c.setRequestProperty("Connection", "Close");
599-
c.setRequestProperty("Content-Type", mimeType == null ? "text/plain; charset=utf-8": mimeType);
599+
c.setRequestProperty("Content-Type", mimeType == null ? "text/zinc; charset=utf-8": mimeType);
600600
c.connect();
601601

602602
// post expression

0 commit comments

Comments
 (0)