Skip to content

Commit 3722a28

Browse files
dunglasnicolas-grekas
authored andcommitted
[Messenger] use official YAML media type
1 parent ed10b36 commit 3722a28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Transport/Serialization/Serializer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ private function getMimeTypeForFormat(): ?string
173173
'json' => 'application/json',
174174
'xml' => 'application/xml',
175175
'yml',
176-
'yaml' => 'application/x-yaml',
176+
'yaml' => 'application/yaml',
177177
'csv' => 'text/csv',
178178
default => null,
179179
};

0 commit comments

Comments
 (0)