 src/Render/BigPipe.php          |  8 ++++----
 src/Render/BigPipeInterface.php | 20 ++++++++++----------
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/src/Render/BigPipe.php b/src/Render/BigPipe.php
index abe8133..07037e8 100644
--- a/src/Render/BigPipe.php
+++ b/src/Render/BigPipe.php
@@ -287,7 +287,7 @@ class BigPipe implements BigPipeInterface {
 
     // Send a container and the start signal.
     print "\n";
-    print '<script type="application/json" data-big-pipe-event="start"></script>' . "\n";
+    print '<script type="application/vnd.drupal-ajax" data-big-pipe-event="start"></script>' . "\n";
     flush();
 
     // A BigPipe response consists of a HTML response plus multiple embedded
@@ -298,7 +298,7 @@ class BigPipe implements BigPipeInterface {
     // to be returned.
     // @see \Drupal\Core\EventSubscriber\AjaxResponseSubscriber::onResponse()
     $fake_request = $this->requestStack->getMasterRequest()->duplicate();
-    $fake_request->headers->set('Accept', 'application/json');
+    $fake_request->headers->set('Accept', 'application/vnd.drupal-ajax');
 
     foreach ($placeholder_order as $placeholder) {
       if (!isset($placeholders[$placeholder])) {
@@ -338,7 +338,7 @@ class BigPipe implements BigPipeInterface {
       // Send this embedded AJAX response.
       $json = $ajax_response->getContent();
       $output = <<<EOF
-    <script type="application/json" data-big-pipe-placeholder="$placeholder" data-drupal-ajax-processor="big_pipe">
+    <script type="application/vnd.drupal-ajax" data-big-pipe-placeholder="$placeholder" data-drupal-ajax-processor="big_pipe">
     $json
     </script>
 EOF;
@@ -354,7 +354,7 @@ EOF;
     }
 
     // Send the stop signal.
-    print '<script type="application/json" data-big-pipe-event="stop"></script>' . "\n";
+    print '<script type="application/vnd.drupal-ajax" data-big-pipe-event="stop"></script>' . "\n";
     flush();
   }
 
diff --git a/src/Render/BigPipeInterface.php b/src/Render/BigPipeInterface.php
index f4066a3..1700835 100644
--- a/src/Render/BigPipeInterface.php
+++ b/src/Render/BigPipeInterface.php
@@ -66,15 +66,15 @@ namespace Drupal\big_pipe\Render;
  *     sent first, the closing </body> tag is not yet sent, and the connection
  *     is kept open. Whenever another BigPipe Placeholder is rendered, Drupal
  *     sends (and so actually appends to the already-sent HTML) something like
- *     <script type="application/json">[{"command":"settings","settings":{…}}, {"command":…}.
+ *     <script type="application/vnd.drupal-ajax">[{"command":"settings","settings":{…}}, {"command":…}.
  *   - So, for every BigPipe placeholder, we send such a <script
- *     type="application/json"> tag. And the contents of that tag is exactly
- *     like an AJAX response. The BigPipe module has JavaScript that listens for
- *     these and applies them. Let's call it an Embedded AJAX Response (since it
- *     is embedded in the HTML response). Now for the interesting bit: each of
- *     those Embedded AJAX Responses must also take into account the cumulative
- *     AJAX page state of the HTML document and all preceding Embedded AJAX
- *     responses.
+ *     type="application/vnd.drupal-ajax"> tag. And the contents of that tag is
+ *     exactly like an AJAX response. The BigPipe module has JavaScript that
+ *     listens for these and applies them. Let's call it an Embedded AJAX
+ *     Response (since it is embedded in the HTML response). Now for the
+ *     interesting bit: each of those Embedded AJAX Responses must also take
+ *     into account the cumulative AJAX page state of the HTML document and all
+ *     preceding Embedded AJAX responses.
  * 2. No-JS BigPipe placeholders: 1 HtmlResponse + N embedded HtmlResponses.
  *   - See first bullet of point 1.
  *   - No-JS BigPipe does not use multiple AJAX requests/responses. It uses a
@@ -107,8 +107,8 @@ namespace Drupal\big_pipe\Render;
  *  6. [… repeat until all no-JS placeholders are sent …]
  *  7. Send content after last no-JS placeholder.
  *  8. Send script_bottom (markup to load bottom i.e. non-critical JS).
- *  9. 1st placeholder: <script type="application/json">[{"command":"settings","settings":{…}}, {"command":…}
- * 10. 2nd placeholder: <script type="application/json">[{"command":"settings","settings":{…}}, {"command":…}
+ *  9. 1st placeholder: <script type="application/vnd.drupal-ajax">[{"command":"settings","settings":{…}}, {"command":…}
+ * 10. 2nd placeholder: <script type="application/vnd.drupal-ajax">[{"command":"settings","settings":{…}}, {"command":…}
  * 11. [… repeat until all placeholders are sent …]
  * 12. Send </body> and everything after it.
  * 13. Terminate request/response cycle.
