We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa473dc commit 5c09fa1Copy full SHA for 5c09fa1
awscurl/src/main/java/ai/djl/awscurl/HttpClient.java
@@ -77,7 +77,11 @@ public static HttpResponse sendRequest(
77
long[] requestTime,
78
String[] jq)
79
throws IOException {
80
- ps.write(("\n" + System.currentTimeMillis() + ": ").getBytes(StandardCharsets.UTF_8));
+ ps.write(
81
+ ("\ntimestamp: " + System.currentTimeMillis() + "\ninput: ")
82
+ .getBytes(StandardCharsets.UTF_8));
83
+ ps.write(request.getContent());
84
+ ps.write(("\noutput: ").getBytes(StandardCharsets.UTF_8));
85
long begin = System.nanoTime();
86
try (CloseableHttpClient client = getHttpClient(insecure, timeout)) {
87
HttpUriRequest req =
0 commit comments