You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: instrumentation/servlet/servlet-3.0/src/main/java/io/opentelemetry/javaagent/instrumentation/hypertrace/servlet/v3_0/nowrapping/Servlet30AndFilterInstrumentation.java
+11
Original file line number
Diff line number
Diff line change
@@ -186,6 +186,17 @@ public static void exit(
186
186
if (throwable == null && !httpResponse.isCommitted()) {
187
187
httpResponse.flushBuffer();
188
188
}
189
+
if (httpResponse.getContentType() != null && !httpResponse.getContentType().isEmpty()) {
Copy file name to clipboardexpand all lines: instrumentation/servlet/servlet-5.0/src/main/java/io/opentelemetry/javaagent/instrumentation/hypertrace/servlet/v5_0/Servlet50AndFilterInstrumentation.java
+11
Original file line number
Diff line number
Diff line change
@@ -190,6 +190,17 @@ public static void exit(
190
190
if (throwable == null && !httpResponse.isCommitted()) {
191
191
httpResponse.flushBuffer();
192
192
}
193
+
if (httpResponse.getContentType() != null && !httpResponse.getContentType().isEmpty()) {
0 commit comments