Don't offer the invalid content type

This commit is contained in:
Michael 2024-03-09 10:46:53 +00:00
parent 40a47b076d
commit a1427a52b3

View File

@ -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 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 JRD_JSON = 'application/jrd+json,application/json;q=0.9';
public const 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 = 'application/magic-envelope+xml';
public const MAGIC_KEY = 'application/magic-public-key'; public const MAGIC_KEY = 'application/magic-public-key';
public const RSS_XML = 'application/rss+xml,text/xml;q=0.9,*/*;q=0.8'; public const RSS_XML = 'application/rss+xml,text/xml;q=0.9,*/*;q=0.8';