From a1427a52b38c6b58ab154a021fa5df64fca1f4ff Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 9 Mar 2024 10:46:53 +0000 Subject: [PATCH] Don't offer the invalid content type --- src/Network/HTTPClient/Client/HttpClientAccept.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Network/HTTPClient/Client/HttpClientAccept.php b/src/Network/HTTPClient/Client/HttpClientAccept.php index c229f5b0a9..11c317acb4 100644 --- a/src/Network/HTTPClient/Client/HttpClientAccept.php +++ b/src/Network/HTTPClient/Client/HttpClientAccept.php @@ -35,7 +35,7 @@ class HttpClientAccept public const IMAGE = 'image/webp,image/png,image/jpeg,image/gif,image/*;q=0.9,*/*;q=0.8'; // @todo add image/avif once our minimal supported PHP version is 8.1.0 public const JRD_JSON = 'application/jrd+json,application/json;q=0.9'; public const JSON = 'application/json,*/*;q=0.9'; - public const JSON_AS = 'application/activity+json, application/ld+json; profile="https://www.w3.org/ns/activitystreams",application/json;q=0.9'; + public const JSON_AS = 'application/activity+json, application/ld+json; profile="https://www.w3.org/ns/activitystreams"'; public const MAGIC = 'application/magic-envelope+xml'; public const MAGIC_KEY = 'application/magic-public-key'; public const RSS_XML = 'application/rss+xml,text/xml;q=0.9,*/*;q=0.8';