Skip to content

Commit 2ed5916

Browse files
ediweissmannbarancev
authored andcommitted
Setting forwarded content for CommandListener afterCommand handler. Fixes issue 7443
Signed-off-by: Alexei Barantsev <[email protected]>
1 parent 203090c commit 2ed5916

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java/server/src/org/openqa/grid/internal/TestSession.java

+1
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ public String forward(SeleniumBasedRequest request, HttpServletResponse response
264264

265265
final byte[] bytes = drainInputStream(in);
266266
writeRawBody(response, bytes);
267+
contentBeingForwarded = bytes;
267268

268269
} finally {
269270
EntityUtils.consume(responseBody);

0 commit comments

Comments
 (0)