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 f2f4b1585..f47a3d373 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,9 @@ class ConvertFileExtensionToAcceptHeader ".csv" => "text/csv", ".svg" => "image/svg+xml", ".json" => "application/hal+json", - ".yaml" => "application/yaml" + ".yaml" => "application/yaml", + ".css" => "text/css", + ".js" => "text/javascript" } def initialize app