Skip to content

Commit 3899041

Browse files
duonglaiquangrbri
authored andcommitted
WebResponseWrapper: add the missing wasContentCharsetTentative()
1 parent 66fb8e8 commit 3899041

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/main/java/org/htmlunit/util/WebResponseWrapper.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,15 @@ public InputStream getContentAsStream() throws IOException {
6969
return wrappedWebResponse_.getContentAsStream();
7070
}
7171

72+
/**
73+
* {@inheritDoc}
74+
* The default behavior of this method is to return wasContentCharsetTentative() on the wrapped webResponse object.
75+
*/
76+
@Override
77+
public boolean wasContentCharsetTentative() {
78+
return wrappedWebResponse_.wasContentCharsetTentative();
79+
}
80+
7281
/**
7382
* {@inheritDoc}
7483
* The default behavior of this method is to return getContentAsString() on the wrapped webResponse object.

0 commit comments

Comments
 (0)