Skip to content
Snippets Groups Projects

Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS

Closed Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS
Closed Harumi Jang requested to merge issue/drupal-3238915:3238915-refactor-if-feasible into 9.3.x
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
  • 6b1c5e3d
    Issue #3292980 by benjifisher, mikelutz, quietone: Testing system should... · 6b1c5e3d
    Lee Rowlands authored
    Issue #3292980 by benjifisher, mikelutz, quietone: Testing system should explain why Guzzle responses can be unreadable
@@ -182,7 +182,9 @@ protected function getResponseLogHandler() {
/** @var \Psr\Http\Message\StreamInterface $stream */
$stream = $response->getBody();
// Get the response body as a string.
// Get the response body as a string. The response stream is set
// to the sink, which defaults to a readable temp stream but can
// be overridden by setting $options['sink'].
$body = $stream->isReadable()
? (string) $stream
: 'Response is not readable.';
Loading