diff --git a/authentication.php b/authentication.php
index 517ba71..219e098 100644
--- a/authentication.php
+++ b/authentication.php
@@ -124,7 +124,9 @@ class authentication
// Unset the JSON Web Token as the authentication
if ($this->route->debug)
echo "Unset the JSON Web Token '$tokenName'
\n";
- echo "\n";
+ if (! key_exists ("CONTENT_TYPE", $_SERVER) ||
+ $_SERVER["CONTENT_TYPE"] !== "application/json")
+ echo "\n";
$algorithm = "HS256";
$cipherKey = null;
$cacheDir = "data/jwtCache";