diff --git a/lib/rack/pact_broker/convert_file_extension_to_accept_header.rb b/lib/rack/pact_broker/convert_file_extension_to_accept_header.rb index 37defd090..f2f4b1585 100644 --- a/lib/rack/pact_broker/convert_file_extension_to_accept_header.rb +++ b/lib/rack/pact_broker/convert_file_extension_to_accept_header.rb @@ -11,7 +11,7 @@ class ConvertFileExtensionToAcceptHeader ".csv" => "text/csv", ".svg" => "image/svg+xml", ".json" => "application/hal+json", - ".yaml" => "application/x-yaml" + ".yaml" => "application/yaml" } def initialize app